-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtet.mf
42 lines (31 loc) · 898 Bytes
/
tet.mf
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
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\
Shared.o
GLUTINCS = -I/System/Library/Frameworks/GLUT.framework/Versions/A/Headers -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
GLUTLIBS = -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Libraries -lGL -lGLU -lobjc -lm
DEFS = -DMAC_OS_X
COPTS = -O -g -fno-implicit-templates
CC = g++
CXXFLAGS = ${COPTS} ${DEFS} ${GLUTINCS}
LDFLAGS = ${COPTS} ${ZLIBS} ${GLUTLIBS} -framework GLUT
all: 4Dtetris
4Dtetris: $(OBJS)
${CC} -o $@ $(OBJS) $(CXXFLAGS) $(LDFLAGS)