summaryrefslogtreecommitdiff
path: root/progs/util/descrip.mms
diff options
context:
space:
mode:
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 0000000000..41b1248157
--- /dev/null
+++ b/progs/util/descrip.mms
@@ -0,0 +1,42 @@
+# Makefile for GLUT-based demo programs for VMS
+# contributed by Jouk Jansen joukj@crys.chem.uva.nl
+
+
+.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