-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtetris.test
executable file
·54 lines (42 loc) · 1.08 KB
/
htetris.test
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
OBJS = Main.o\
FourD.o\
Hyper.o\
Asserts.o\
Board.o\
GenPiece.o\
CubePiece.o\
DList.o\
LPiece.o\
StraightPiece.o\
TPiece.o\
SPiece.o\
CornerPiece.o\
TwistyPiece.o\
ZPiece.o\
ThreeLinePiece.o\
TriPiece.o\
TwoPiece.o\
SimplePiece.o\
Rotor.o
LOCAL = /afs/ncsa/projects/math/local
LIB = o32
# LIB = o32
# LOCAL = /usr/local/
GLINC = -I$(LOCAL)/include
GLUTINC = -I$(LOCAL)/include/GL
CAVEINC = -I/usr/local/CAVE/include
CAVELIB = -L/usr/local/CAVE/lib -lcave_ogl
GLUTLIB = -L$(LOCAL)/$(LIB) -lglut
GLLIB = -L$(LOCAL)/$(LIB) -lGL -lGLU
VSSLIB = -L$(VSSDIR) -lsnd_o32
SYSLIBS = -L/usr/X11R6/lib -lX11 -lXi -lXext -lXmu -lm
EXENAME = a.out
# OPT = -DCAVE -O2
# OPT = -DCAVE -n32 -mips3
OPT = -DCAVE -o32
CFLAGS = ${OPT} ${CAVEINC} ${GLUTINC} ${GLINC} -woff 1116,1233,3341
LDFLAGS = ${OPT} ${CAVELIB} ${GLUTLIB} ${GLLIB} ${SYSLIBS}
$(EXENAME): $(OBJS)
CC $(CFLAGS) $(LDFLAGS) $(OBJS)
.C.o:
CC $*.C -o $* $(CFLAGS) $(LDFLAGS)