source: network-game/server/makefile@ e437a19

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

Added a Game class and new messages types for creating, joining, and leaving games

  • Property mode set to 100644
File size: 782 bytes
RevLine 
[2488852]1CC = g++
[60017fc]2LIB_FLAGS = -lssl -lmysqlclient -lcrypt -lrt
[2488852]3FLAGS = $(LIB_FLAGS)
4COMMON_PATH = ../common
[f419b09]5DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o DataAccess.o Projectile.o Game.o
[2488852]6
7server : server.cpp $(DEPENDENCIES)
8 $(CC) -o $@ $+ $(FLAGS)
9
[edfd1d0]10Common.o : $(COMMON_PATH)/Common.cpp
11 $(CC) -c -o $@ $?
12
[46d6469]13MessageContainer.o : $(COMMON_PATH)/MessageContainer.cpp
14 $(CC) -c -o $@ $?
15
[787806f]16MessageProcessor.o : $(COMMON_PATH)/MessageProcessor.cpp
17 $(CC) -c -o $@ $?
18
[edfd1d0]19Player.o : $(COMMON_PATH)/Player.cpp
20 $(CC) -c -o $@ $?
21
[60017fc]22WorldMap.o : $(COMMON_PATH)/WorldMap.cpp
[60b77d2]23 $(CC) -c -o $@ $?
24
[8dad966]25Projectile.o : $(COMMON_PATH)/Projectile.cpp
26 $(CC) -c -o $@ $?
27
[f419b09]28Game.o : $(COMMON_PATH)/Game.cpp
29 $(CC) -c -o $@ $?
30
[2488852]31%.o : %.cpp
32 $(CC) -c -o $@ $?
33
34clean:
35 rm *.o
36 rm server
Note: See TracBrowser for help on using the repository browser.