Last change
on this file since c76134b was 8dad966, checked in by dportnoy <dmp1488@…>, 12 years ago |
Added server support for player attack animations and cooldowns and firing projectiles for ranged attacks
|
-
Property mode
set to
100644
|
File size:
599 bytes
|
Line | |
---|
1 | CC = g++
|
---|
2 | LIB_FLAGS = -lssl -lmysqlclient -lcrypt -lrt
|
---|
3 | FLAGS = $(LIB_FLAGS)
|
---|
4 | COMMON_PATH = ../common
|
---|
5 | DEPENDENCIES = Common.o Message.o Player.o WorldMap.o DataAccess.o Projectile.o
|
---|
6 |
|
---|
7 | server : server.cpp $(DEPENDENCIES)
|
---|
8 | $(CC) -o $@ $+ $(FLAGS)
|
---|
9 |
|
---|
10 | Common.o : $(COMMON_PATH)/Common.cpp
|
---|
11 | $(CC) -c -o $@ $?
|
---|
12 |
|
---|
13 | Message.o : $(COMMON_PATH)/Message.cpp
|
---|
14 | $(CC) -c -o $@ $?
|
---|
15 |
|
---|
16 | Player.o : $(COMMON_PATH)/Player.cpp
|
---|
17 | $(CC) -c -o $@ $?
|
---|
18 |
|
---|
19 | WorldMap.o : $(COMMON_PATH)/WorldMap.cpp
|
---|
20 | $(CC) -c -o $@ $?
|
---|
21 |
|
---|
22 | Projectile.o : $(COMMON_PATH)/Projectile.cpp
|
---|
23 | $(CC) -c -o $@ $?
|
---|
24 |
|
---|
25 | %.o : %.cpp
|
---|
26 | $(CC) -c -o $@ $?
|
---|
27 |
|
---|
28 | clean:
|
---|
29 | rm *.o
|
---|
30 | rm server
|
---|
Note:
See
TracBrowser
for help on using the repository browser.