Last change
on this file since ace001a was fb894b4, checked in by Dmitry Portnoy <dmp1488@…>, 10 years ago |
Change server exe name and clean up the db schema
|
-
Property mode
set to
100644
|
File size:
1014 bytes
|
Line | |
---|
1 | CC = g++
|
---|
2 | #LIB_FLAGS = -lssl -lmysqlclient -lcrypt -lrt
|
---|
3 | LIB_FLAGS = -lmysqlclient -lcrypt -lrt -llua5.2
|
---|
4 | FLAGS = -Wall -g
|
---|
5 | COMMON_PATH = ../common
|
---|
6 | DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o DataAccess.o Projectile.o Game.o GameSummary.o LuaLoader.o
|
---|
7 |
|
---|
8 | server : server.cpp $(DEPENDENCIES)
|
---|
9 | $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
|
---|
10 |
|
---|
11 | Common.o : $(COMMON_PATH)/Common.cpp
|
---|
12 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
13 |
|
---|
14 | MessageContainer.o : $(COMMON_PATH)/MessageContainer.cpp
|
---|
15 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
16 |
|
---|
17 | MessageProcessor.o : $(COMMON_PATH)/MessageProcessor.cpp
|
---|
18 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
19 |
|
---|
20 | Player.o : $(COMMON_PATH)/Player.cpp
|
---|
21 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
22 |
|
---|
23 | WorldMap.o : $(COMMON_PATH)/WorldMap.cpp
|
---|
24 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
25 |
|
---|
26 | Projectile.o : $(COMMON_PATH)/Projectile.cpp
|
---|
27 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
28 |
|
---|
29 | Game.o : $(COMMON_PATH)/Game.cpp
|
---|
30 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
31 |
|
---|
32 | GameSummary.o : $(COMMON_PATH)/GameSummary.cpp
|
---|
33 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
34 |
|
---|
35 | %.o : %.cpp
|
---|
36 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
37 |
|
---|
38 | clean:
|
---|
39 | rm *.o
|
---|
40 | rm server
|
---|
Note:
See
TracBrowser
for help on using the repository browser.