jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 1 | # Makefile for GLUT-based demo programs for VMS |
| 2 | # contributed by Jouk Jansen joukj@crys.chem.uva.nl |
| 3 | |
| 4 | |
| 5 | .first |
| 6 | define gl [-.include.gl] |
| 7 | |
| 8 | .include [-]mms-config. |
| 9 | |
| 10 | ##### MACROS ##### |
| 11 | |
Jouk Jansen | ef68e7b | 2001-01-02 10:07:33 +0000 | [diff] [blame] | 12 | INCDIR = ([-.include],[-.util]) |
Jouk Jansen | 5d3a957 | 2000-08-24 08:48:27 +0000 | [diff] [blame] | 13 | CFLAGS = /include=$(INCDIR)/prefix=all/name=(as_is,short) |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 14 | |
| 15 | .ifdef SHARE |
| 16 | GL_LIBS = $(XLIBS) |
| 17 | .else |
| 18 | GL_LIBS = [-.lib]libGLUT/l,libMesaGLU/l,libMesaGL/l,$(XLIBS) |
| 19 | .endif |
| 20 | |
| 21 | LIB_DEP = [-.lib]$(GL_LIB) [-.lib]$(GLU_LIB) [-.lib]$(GLUT_LIB) |
| 22 | |
| 23 | PROGS = bounce.exe;,clearspd.exe;,drawpix.exe;,gamma.exe;,gears.exe;,\ |
| 24 | glinfo.exe;,glutfx.exe;,isosurf.exe;,morph3d.exe;,osdemo.exe;,\ |
| 25 | paltex.exe;,pointblast.exe;,reflect.exe;,spectex.exe;,stex3d.exe;,\ |
| 26 | tessdemo.exe;,texcyl.exe;,texobj.exe;,trispd.exe;,winpos.exe; |
| 27 | |
| 28 | |
| 29 | ##### RULES ##### |
| 30 | .obj.exe : |
| 31 | link $(MMS$TARGET_NAME),$(GL_LIBS) |
| 32 | |
| 33 | ##### TARGETS ##### |
| 34 | default : |
| 35 | $(MMS)$(MMSQUALIFIERS) $(PROGS) |
| 36 | |
| 37 | clean : |
| 38 | delete *.obj;* |
| 39 | |
| 40 | realclean : |
| 41 | delete $(PROGS) |
| 42 | delete *.obj;* |
| 43 | |
| 44 | bounce.exe; : bounce.obj $(LIB_DEP) |
| 45 | clearspd.exe; : clearspd.obj $(LIB_DEP) |
| 46 | drawpix.exe; : drawpix.obj $(LIB_DEP) |
| 47 | gamma.exe; : gamma.obj $(LIB_DEP) |
| 48 | gears.exe; : gears.obj $(LIB_DEP) |
| 49 | glinfo.exe; : glinfo.obj $(LIB_DEP) |
| 50 | glutfx.exe; : glutfx.obj $(LIB_DEP) |
| 51 | isosurf.exe; : isosurf.obj $(LIB_DEP) |
| 52 | morph3d.exe; : morph3d.obj $(LIB_DEP) |
| 53 | osdemo.exe; : osdemo.obj $(LIB_DEP) |
| 54 | paltex.exe; : paltex.obj $(LIB_DEP) |
| 55 | pointblast.exe; : pointblast.obj $(LIB_DEP) |
| 56 | reflect.exe; : reflect.obj $(LIB_DEP) |
| 57 | spectex.exe; : spectex.obj $(LIB_DEP) |
| 58 | stex3d.exe; : stex3d.obj $(LIB_DEP) |
| 59 | tessdemo.exe; : tessdemo.obj $(LIB_DEP) |
| 60 | texcyl.exe; : texcyl.obj $(LIB_DEP) |
| 61 | texobj.exe; : texobj.obj $(LIB_DEP) |
| 62 | trispd.exe; : trispd.obj $(LIB_DEP) |
| 63 | winpos.exe; : winpos.obj $(LIB_DEP) |