-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
70 lines (40 loc) · 1.18 KB
/
Makefile
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
GRL = -lGL -lGLU -lglut
all: hello
hello: CITY.o MYUTILITY.o BUILDING.o CAMERA.o CAR.o ROAD.o MOTION.o FLAG.o METER.o STOPWATCH.o ALL.o MENU.o GAME.o DRIVE.o XPLORE.o CONTROLS.o CREDITS.o run.o
g++ CITY.o MYUTILITY.o BUILDING.o CAMERA.o CAR.o ROAD.o MOTION.o FLAG.o METER.o STOPWATCH.o ALL.o MENU.o GAME.o DRIVE.o XPLORE.o CONTROLS.o CREDITS.o run.o -o hello $(GRL)
MYUTILITY.o: MYUTILITY.cpp
g++ -c MYUTILITY.cpp $(GRL)
BUILDING.o: BUILDING.cpp
g++ -c BUILDING.cpp $(GRL)
CAMERA.o: CAMERA.cpp
g++ -c CAMERA.cpp $(GRL)
CAR.o: CAR.cpp
g++ -c CAR.cpp $(GRL)
ROAD.o: ROAD.cpp
g++ -c ROAD.cpp $(GRL)
MOTION.o: MOTION.cpp
g++ -c MOTION.cpp $(GRL)
CITY.o: CITY.cpp
g++ -c CITY.cpp $(GRL)
FLAG.o: FLAG.cpp
g++ -c FLAG.cpp $(GRL)
METER.o: METER.cpp
g++ -c METER.cpp $(GRL)
STOPWATCH.o: STOPWATCH.cpp
g++ -c STOPWATCH.cpp $(GRL)
MENU.o: MENU.cpp
g++ -c MENU.cpp $(GRL)
GAME.o: GAME.cpp
g++ -c GAME.cpp $(GRL)
DRIVE.o: DRIVE.cpp
g++ -c DRIVE.cpp $(GRL)
XPLORE.o: XPLORE.cpp
g++ -c XPLORE.cpp $(GRL)
CONTROLS.o: CONTROLS.cpp
g++ -c CONTROLS.cpp $(GRL)
CREDITS.o: CREDITS.cpp
g++ -c CREDITS.cpp $(GRL)
run.o: run.cpp
g++ -c run.cpp $(GRL)
clean:
rm -rf *o hello