source: network-game/server/makefile@ 384b7e0

Last change on this file since 384b7e0 was 60b77d2, checked in by dportnoy <dmp1488@…>, 12 years ago

Added a Map class

  • Property mode set to 100644
File size: 501 bytes
RevLine 
[2488852]1CC = g++
[b128109]2LIB_FLAGS = -lssl -lmysqlclient -lcrypt
[2488852]3FLAGS = $(LIB_FLAGS)
4COMMON_PATH = ../common
[60b77d2]5DEPENDENCIES = Common.o Message.o Player.o Map.o DataAccess.o
[2488852]6
7server : server.cpp $(DEPENDENCIES)
8 $(CC) -o $@ $+ $(FLAGS)
9
[edfd1d0]10Common.o : $(COMMON_PATH)/Common.cpp
11 $(CC) -c -o $@ $?
12
[b53c6b3]13Message.o : $(COMMON_PATH)/Message.cpp
[2488852]14 $(CC) -c -o $@ $?
15
[edfd1d0]16Player.o : $(COMMON_PATH)/Player.cpp
17 $(CC) -c -o $@ $?
18
[60b77d2]19Map.o : $(COMMON_PATH)/Map.cpp
20 $(CC) -c -o $@ $?
21
[2488852]22%.o : %.cpp
23 $(CC) -c -o $@ $?
24
25clean:
26 rm *.o
27 rm server
Note: See TracBrowser for help on using the repository browser.