source: network-game/server/makefile@ 635ad9b

Last change on this file since 635ad9b was c9f6a1c, checked in by dportnoy <dmp1488@…>, 11 years ago

New GameSummary class for storing game results

  • Property mode set to 100644
File size: 903 bytes
Line 
1CC = g++
2#LIB_FLAGS = -lssl -lmysqlclient -lcrypt -lrt
3LIB_FLAGS = -lmysqlclient -lcrypt -lrt
4FLAGS = $(LIB_FLAGS)
5COMMON_PATH = ../common
6DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o DataAccess.o Projectile.o Game.o GameSummary.o
7
8server : server.cpp $(DEPENDENCIES)
9 $(CC) -o $@ $+ $(FLAGS)
10
11Common.o : $(COMMON_PATH)/Common.cpp
12 $(CC) -c -o $@ $?
13
14MessageContainer.o : $(COMMON_PATH)/MessageContainer.cpp
15 $(CC) -c -o $@ $?
16
17MessageProcessor.o : $(COMMON_PATH)/MessageProcessor.cpp
18 $(CC) -c -o $@ $?
19
20Player.o : $(COMMON_PATH)/Player.cpp
21 $(CC) -c -o $@ $?
22
23WorldMap.o : $(COMMON_PATH)/WorldMap.cpp
24 $(CC) -c -o $@ $?
25
26Projectile.o : $(COMMON_PATH)/Projectile.cpp
27 $(CC) -c -o $@ $?
28
29Game.o : $(COMMON_PATH)/Game.cpp
30 $(CC) -c -o $@ $?
31
32GameSummary.o : $(COMMON_PATH)/GameSummary.cpp
33 $(CC) -c -o $@ $?
34
35%.o : %.cpp
36 $(CC) -c -o $@ $?
37
38clean:
39 rm *.o
40 rm server
Note: See TracBrowser for help on using the repository browser.