summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/descrip.mms
blob: aa74daff599088f3bf7def2f9005bd35e8c03b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Makefile for GLUT-based demo programs for VMS
# contributed by Jouk Jansen  joukj@hrem.stm.tudelft.nl


.first
	define gl [--.include.gl]

.include [--]mms-config.

##### MACROS #####

INCDIR = ([--.include],[-.util])
CFLAGS = /include=$(INCDIR)/prefix=all/name=(as_is,short)/nowarn/float=ieee/ieee=denorm

.ifdef SHARE
GL_LIBS = $(XLIBS)
.else
GL_LIBS = [--.lib]libGLUT/l,libMesaGLU/l,libMesaGL/l,$(XLIBS)
.endif

LIB_DEP = [--.lib]$(GL_LIB) [--.lib]$(GLU_LIB) [--.lib]$(GLUT_LIB)

PROGS =glthreads.exe,\
	glxdemo.exe,\
	glxgears.exe,\
	glxheads.exe,\
	glxinfo.exe,\
	glxpixmap.exe,\
	manywin.exe,\
	offset.exe,\
	pbinfo.exe,\
	pbdemo.exe,\
	wincopy.exe,\
	xdemo.exe,\
	xfont.exe

##### RULES #####
.obj.exe :
	cxxlink $(MMS$TARGET_NAME),$(GL_LIBS)

##### TARGETS #####
default :
	$(MMS)$(MMSQUALIFIERS) $(PROGS)

clean :
	delete *.obj;*

realclean :
	delete $(PROGS)
	delete *.obj;*


glthreads.exe : glthreads.obj $(LIB_DEP) 
glxdemo.exe : glxdemo.obj $(LIB_DEP)
glxgears.exe : glxgears.obj $(LIB_DEP)
glxheads.exe : glxheads.obj $(LIB_DEP)
glxinfo.exe : glxinfo.obj $(LIB_DEP)
glxpixmap.exe : glxpixmap.obj $(LIB_DEP)
manywin.exe : manywin.obj $(LIB_DEP)
offset.exe : offset.obj $(LIB_DEP)
pbinfo.exe : pbinfo.obj pbutil.obj $(LIB_DEP)
	cxxlink pbinfo.obj,pbutil.obj,$(GL_LIBS)
pbdemo.exe : pbdemo.obj pbutil.obj $(LIB_DEP)
	cxxlink pbdemo.obj,pbutil.obj,$(GL_LIBS)
wincopy.exe : wincopy.obj $(LIB_DEP)
xdemo.exe : xdemo.obj $(LIB_DEP)
xfont.exe :xfont.obj $(LIB_DEP)


glthreads.obj : glthreads.c 
glxdemo.obj : glxdemo.c
glxgears.obj : glxgears.c
glxheads.obj : glxheads.c
glxinfo.obj : glxinfo.c
glxpixmap.obj : glxpixmap.c
manywin.obj : manywin.c
offset.obj : offset.c
pbinfo.obj : pbinfo.c
pbutil.obj : pbutil.c
pbdemo.obj : pbdemo.c
wincopy.obj : wincopy.c
xdemo.obj : xdemo.c
xfont.obj :xfont.c