source: network-game/server/makefile@ 7f9b01c

Last change on this file since 7f9b01c 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
RevLine 
[2488852]1CC = g++
[c9f6a1c]2#LIB_FLAGS = -lssl -lmysqlclient -lcrypt -lrt
[53643ca]3LIB_FLAGS = -lmysqlclient -lcrypt -lrt -llua5.2
[84f9797]4FLAGS = -Wall -g
[2488852]5COMMON_PATH = ../common
[53643ca]6DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o DataAccess.o Projectile.o Game.o GameSummary.o LuaLoader.o
[2488852]7
[fb894b4]8server : server.cpp $(DEPENDENCIES)
[949cf70]9 $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
[2488852]10
[edfd1d0]11Common.o : $(COMMON_PATH)/Common.cpp
[949cf70]12 $(CC) -c -o $@ $? $(FLAGS)
[edfd1d0]13
[46d6469]14MessageContainer.o : $(COMMON_PATH)/MessageContainer.cpp
[949cf70]15 $(CC) -c -o $@ $? $(FLAGS)
[46d6469]16
[787806f]17MessageProcessor.o : $(COMMON_PATH)/MessageProcessor.cpp
[949cf70]18 $(CC) -c -o $@ $? $(FLAGS)
[787806f]19
[edfd1d0]20Player.o : $(COMMON_PATH)/Player.cpp
[949cf70]21 $(CC) -c -o $@ $? $(FLAGS)
[edfd1d0]22
[60017fc]23WorldMap.o : $(COMMON_PATH)/WorldMap.cpp
[949cf70]24 $(CC) -c -o $@ $? $(FLAGS)
[60b77d2]25
[8dad966]26Projectile.o : $(COMMON_PATH)/Projectile.cpp
[949cf70]27 $(CC) -c -o $@ $? $(FLAGS)
[8dad966]28
[f419b09]29Game.o : $(COMMON_PATH)/Game.cpp
[949cf70]30 $(CC) -c -o $@ $? $(FLAGS)
[f419b09]31
[c9f6a1c]32GameSummary.o : $(COMMON_PATH)/GameSummary.cpp
[949cf70]33 $(CC) -c -o $@ $? $(FLAGS)
[c9f6a1c]34
[2488852]35%.o : %.cpp
[949cf70]36 $(CC) -c -o $@ $? $(FLAGS)
[2488852]37
38clean:
39 rm *.o
[fb894b4]40 rm server
Note: See TracBrowser for help on using the repository browser.