source: network-game/server/makefile@ 8e540f4

Last change on this file since 8e540f4 was 8e540f4, checked in by dportnoy <dmp1488@…>, 12 years ago

Created a separate function for processing error messages, began capitalizing class names and class-related file names, and fixed the include guard in message,h

  • Property mode set to 100644
File size: 300 bytes
RevLine 
[2488852]1CC = g++
2LIB_FLAGS = -lssl -lmysqlclient
3FLAGS = $(LIB_FLAGS)
4COMMON_PATH = ../common
[8e540f4]5DEPENDENCIES = message.o Player.o
[2488852]6
7server : server.cpp $(DEPENDENCIES)
8 $(CC) -o $@ $+ $(FLAGS)
9
10message.o : $(COMMON_PATH)/message.cpp
11 $(CC) -c -o $@ $?
12
13%.o : %.cpp
14 $(CC) -c -o $@ $?
15
16clean:
17 rm *.o
18 rm server
Note: See TracBrowser for help on using the repository browser.