move #include <GL/glut.h> after other #includes for Windows
[mesa.git] / progs / demos / descrip.mms
1 # Makefile for GLUT-based demo programs for VMS
2 # contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl
3 # Last update : 20 May 2005
4
5 .first
6 define gl [--.include.gl]
7
8 .include [--]mms-config.
9
10 ##### MACROS #####
11
12 INCDIR = ([--.include],[-.util])
13 CFLAGS =/include=$(INCDIR)/prefix=all/name=(as_is,short)/float=ieee/ieee=denorm
14
15 .ifdef SHARE
16 GL_LIBS = $(XLIBS)
17 LIB_DEP = [--.lib]$(GL_SHAR) [--.lib]$(GLU_SHAR) [--.lib]$(GLUT_SHAR)
18 .else
19 GL_LIBS = [--.lib]libGLUT/l,libMesaGLU/l,libMesaGL/l,$(XLIBS)
20 LIB_DEP = [--.lib]$(GL_LIB) [--.lib]$(GLU_LIB) [--.lib]$(GLUT_LIB)
21 .endif
22
23
24 PROGS = bounce.exe;,clearspd.exe;,drawpix.exe;,gamma.exe;,gears.exe;,\
25 glinfo.exe;,glutfx.exe;,isosurf.exe;,morph3d.exe;,\
26 paltex.exe;,pointblast.exe;,reflect.exe;,spectex.exe;,stex3d.exe;,\
27 tessdemo.exe;,texcyl.exe;,texobj.exe;,trispd.exe;,winpos.exe;
28
29
30 ##### RULES #####
31 .obj.exe :
32 cxxlink $(MMS$TARGET_NAME),$(GL_LIBS)
33
34 ##### TARGETS #####
35 default :
36 $(MMS)$(MMSQUALIFIERS) $(PROGS)
37
38 clean :
39 delete *.obj;*
40
41 realclean :
42 delete $(PROGS)
43 delete *.obj;*
44
45 bounce.exe; : bounce.obj $(LIB_DEP)
46 clearspd.exe; : clearspd.obj $(LIB_DEP)
47 drawpix.exe; : drawpix.obj $(LIB_DEP) [-.util]readtex.obj
48 cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS)
49 gamma.exe; : gamma.obj $(LIB_DEP)
50 gears.exe; : gears.obj $(LIB_DEP)
51 glinfo.exe; : glinfo.obj $(LIB_DEP)
52 glutfx.exe; : glutfx.obj $(LIB_DEP)
53 isosurf.exe; : isosurf.obj $(LIB_DEP) [-.util]readtex.obj
54 cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS)
55 morph3d.exe; : morph3d.obj $(LIB_DEP)
56 paltex.exe; : paltex.obj $(LIB_DEP)
57 pointblast.exe; : pointblast.obj $(LIB_DEP)
58 reflect.exe; : reflect.obj [-.util]readtex.obj [-.util]showbuffer.obj\
59 $(LIB_DEP)
60 cxxlink $(MMS$TARGET_NAME),[-.util]readtex,showbuffer,$(GL_LIBS)
61 spectex.exe; : spectex.obj $(LIB_DEP)
62 stex3d.exe; : stex3d.obj $(LIB_DEP)
63 tessdemo.exe; : tessdemo.obj $(LIB_DEP)
64 texcyl.exe; : texcyl.obj [-.util]readtex.obj $(LIB_DEP)
65 cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS)
66 texobj.exe; : texobj.obj $(LIB_DEP)
67 trispd.exe; : trispd.obj $(LIB_DEP)
68 winpos.exe; : winpos.obj [-.util]readtex.obj $(LIB_DEP)
69 cxxlink $(MMS$TARGET_NAME),[-.util]readtex.obj,$(GL_LIBS)
70
71
72 bounce.obj : bounce.c
73 clearspd.obj : clearspd.c
74 drawpix.obj : drawpix.c
75 gamma.obj : gamma.c
76 gears.obj : gears.c
77 glinfo.obj : glinfo.c
78 glutfx.obj : glutfx.c
79 isosurf.obj : isosurf.c
80 morph3d.obj : morph3d.c
81 paltex.obj : paltex.c
82 pointblast.obj : pointblast.c
83 reflect.obj : reflect.c
84 spectex.obj : spectex.c
85 stex3d.obj : stex3d.c
86 tessdemo.obj : tessdemo.c
87 texcyl.obj : texcyl.c
88 texobj.obj : texobj.c
89 trispd.obj : trispd.c
90 winpos.obj : winpos.c