summaryrefslogtreecommitdiffstats
path: root/progs/util/descrip.mms
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-01-11 15:23:08 +0000
committerBrian Paul <[email protected]>2005-01-11 15:23:08 +0000
commit0275d921ac344e91cf25f097d6b262b2ac06ff7e (patch)
tree0754f106fb171b6e620c10dafc3c81844bdd9fad /progs/util/descrip.mms
parent94dd520210293750ab6f3094a6a8c67e23f61ef2 (diff)
VMS updates from Jouk Jansen
Diffstat (limited to 'progs/util/descrip.mms')
-rw-r--r--progs/util/descrip.mms42
1 files changed, 42 insertions, 0 deletions
diff --git a/progs/util/descrip.mms b/progs/util/descrip.mms
new file mode 100644
index 00000000000..41b1248157c
--- /dev/null
+++ b/progs/util/descrip.mms
@@ -0,0 +1,42 @@
+# Makefile for GLUT-based demo programs for VMS
+# contributed by Jouk Jansen [email protected]
+
+
+.first
+ define gl [--.include.gl]
+
+.include [--]mms-config.
+
+##### MACROS #####
+
+INCDIR = ([--.include],[-.util])
+CFLAGS = /include=$(INCDIR)/prefix=all/name=(as_is,short)
+
+.ifdef SHARE
+GL_LIBS = $(XLIBS)
+LIB_DEP = [--.lib]$(GL_SHAR) [--.lib]$(GLU_SHAR) [--.lib]$(GLUT_SHAR)
+.else
+GL_LIBS = [--.lib]libGLUT/l,libMesaGLU/l,libMesaGL/l,$(XLIBS)
+LIB_DEP = [--.lib]$(GL_LIB) [--.lib]$(GLU_LIB) [--.lib]$(GLUT_LIB)
+.endif
+
+
+OBJS =readtex.obj,showbuffer.obj
+
+
+##### RULES #####
+.obj.exe :
+ cxxlink $(MMS$TARGET_NAME),$(GL_LIBS)
+
+##### TARGETS #####
+default :
+ $(MMS)$(MMSQUALIFIERS) $(OBJS)
+
+clean :
+ delete *.obj;*
+
+realclean :
+ delete *.obj;*
+
+readtex.obj : readtex.c
+showbuffer.obj : showbuffer.c