-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmakefile
82 lines (53 loc) · 3.04 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
71
72
73
74
75
76
77
78
79
80
81
82
#
CXX = g++
CXXFLAGS = -g -Wall -lGLU -lGLEW -lGL `sdl-config --cflags` `sdl-config --libs` -lSDL_net -lSDL_image -lSDL_mixer -lSDL -lSDLmain
main: main.o models.o bat_models.o puck_models.o Transformation.o ctexture.o cgame.o cboard.o cbat.o cpuck.o cplayer.o ccamera.o cbutton.o ctextinput.o cfontprinter.o cpanelobjek.o cpanel.o clabel.o cnetwork_queue.o Utilities.o csoundplayer.o ctheme.o
$(CXX) -o main main.o models.o bat_models.o puck_models.o Transformation.o ctexture.o cgame.o cboard.o cbat.o cpuck.o cplayer.o ccamera.o cbutton.o ctextinput.o cfontprinter.o cpanelobjek.o cpanel.o clabel.o cnetwork_queue.o Utilities.o csoundplayer.o ctheme.o $(CXXFLAGS)
main.o: main.cpp models.h bat_models.h puck_models.h Transformation.h ccamera.h ctexture.h cboard.h cplayer.h cpuck.h cgame.h game_mainmenu.h game_paused.h game_running.h game_over.h poller.h main.h globalDefs.h cbutton.h networking.h cnetwork_queue.h ctextinput.h cfontprinter.h Utilities.h cpanelobjek.h cpanel.h clabel.h cpacketdata.h csoundplayer.h ctheme.h themes.h
$(CXX) $(CXXFLAGS) -c main.cpp
models.o: models.cpp models.h
$(CXX) $(CXXFLAGS) -c models.cpp
bat_models.o: bat_models.cpp bat_models.h
$(CXX) $(CXXFLAGS) -c bat_models.cpp
puck_models.o: puck_models.cpp puck_models.h
$(CXX) $(CXXFLAGS) -c puck_models.cpp
Transformation.o: Transformation.cpp Transformation.h
$(CXX) $(CXXFLAGS) -c Transformation.cpp
ctexture.o: ctexture.cpp ctexture.h
$(CXX) $(CXXFLAGS) -c ctexture.cpp
cgame.o: cgame.cpp cgame.h Transformation.h ccamera.h
$(CXX) $(CXXFLAGS) -c cgame.cpp
cboard.o: cboard.cpp cboard.h models.h ctexture.h
$(CXX) $(CXXFLAGS) -c cboard.cpp
cbat.o: cbat.cpp cbat.h bat_models.h cboard.h globalDefs.h Utilities.h
$(CXX) $(CXXFLAGS) -c cbat.cpp
cpuck.o: cpuck.cpp cpuck.h puck_models.h Utilities.h globalDefs.h
$(CXX) $(CXXFLAGS) -c cpuck.cpp
cplayer.o: cplayer.cpp cplayer.h cbat.h globalDefs.h
$(CXX) $(CXXFLAGS) -c cplayer.cpp
ccamera.o: ccamera.cpp ccamera.h Transformation.h
$(CXX) $(CXXFLAGS) -c ccamera.cpp
cbutton.o: cbutton.cpp cbutton.h ctexture.h
$(CXX) $(CXXFLAGS) -c cbutton.cpp
ctextinput.o: ctextinput.cpp ctextinput.h ctexture.h cfontprinter.h cpanelobjek.h Utilities.h
$(CXX) $(CXXFLAGS) -c ctextinput.cpp
cfontprinter.o: cfontprinter.cpp cfontprinter.h Utilities.h ctexture.h
$(CXX) $(CXXFLAGS) -c cfontprinter.cpp
cpanelobjek.o: cpanelobjek.cpp cpanelobjek.h Utilities.h ctexture.h
$(CXX) $(CXXFLAGS) -c cpanelobjek.cpp
cpanel.o: cpanel.cpp cpanel.h Utilities.h ctexture.h cpanelobjek.h
$(CXX) $(CXXFLAGS) -c cpanel.cpp
clabel.o: clabel.cpp clabel.h Utilities.h ctexture.h cpanelobjek.h cfontprinter.h
$(CXX) $(CXXFLAGS) -c clabel.cpp
cnetwork_queue.o: cnetwork_queue.cpp cpacketdata.h cnetwork_queue.h globalDefs.h
$(CXX) $(CXXFLAGS) -c cnetwork_queue.cpp
Utilities.o: Utilities.cpp Utilities.h globalDefs.h
$(CXX) $(CXXFLAGS) -c Utilities.cpp
csoundplayer.o: csoundplayer.cpp csoundplayer.h
$(CXX) $(CXXFLAGS) -c csoundplayer.cpp
ctheme.o: ctheme.cpp ctheme.h
$(CXX) $(CXXFLAGS) -c ctheme.cpp
.PHONY : clean
clean :
-rm main *.o
# cbat.o cbutton.o