1 # Makefile for GLUT-based demo programs for VMS
2 # contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl
6 define gl [--.include.gl]
8 .include [--]mms-config.
12 INCDIR = ([--.include],[-.util])
13 CFLAGS = /include=$(INCDIR)/prefix=all/name=(as_is,short)/nowarn
18 GL_LIBS = [--.lib]libGLUT/l,libMesaGLU/l,libMesaGL/l,$(XLIBS)
21 LIB_DEP = [--.lib]$(GL_LIB) [--.lib]$(GLU_LIB) [--.lib]$(GLUT_LIB)
23 PROGS =glthreads.exe,\
39 cxxlink $(MMS$TARGET_NAME),$(GL_LIBS)
43 $(MMS)$(MMSQUALIFIERS) $(PROGS)
53 glthreads.exe : glthreads.obj $(LIB_DEP)
54 glxdemo.exe : glxdemo.obj $(LIB_DEP)
55 glxgears.exe : glxgears.obj $(LIB_DEP)
56 glxheads.exe : glxheads.obj $(LIB_DEP)
57 glxinfo.exe : glxinfo.obj $(LIB_DEP)
58 glxpixmap.exe : glxpixmap.obj $(LIB_DEP)
59 manywin.exe : manywin.obj $(LIB_DEP)
60 offset.exe : offset.obj $(LIB_DEP)
61 pbinfo.exe : pbinfo.obj pbutil.obj $(LIB_DEP)
62 cxxlink pbinfo.obj,pbutil.obj,$(GL_LIBS)
63 pbdemo.exe : pbdemo.obj pbutil.obj $(LIB_DEP)
64 cxxlink pbdemo.obj,pbutil.obj,$(GL_LIBS)
65 wincopy.exe : wincopy.obj $(LIB_DEP)
66 xdemo.exe : xdemo.obj $(LIB_DEP)
67 xfont.exe :xfont.obj $(LIB_DEP)
70 glthreads.obj : glthreads.c
71 glxdemo.obj : glxdemo.c
72 glxgears.obj : glxgears.c
73 glxheads.obj : glxheads.c
74 glxinfo.obj : glxinfo.c
75 glxpixmap.obj : glxpixmap.c
76 manywin.obj : manywin.c
81 wincopy.obj : wincopy.c