Last change
on this file since cbc595d was 36082e8, checked in by dportnoy <dmp1488@…>, 12 years ago |
Moved the database code to a new class
|
-
Property mode
set to
100644
|
File size:
313 bytes
|
Rev | Line | |
---|
[2488852] | 1 | CC = g++
|
---|
| 2 | LIB_FLAGS = -lssl -lmysqlclient
|
---|
| 3 | FLAGS = $(LIB_FLAGS)
|
---|
| 4 | COMMON_PATH = ../common
|
---|
[36082e8] | 5 | DEPENDENCIES = message.o Player.o DataAccess.o
|
---|
[2488852] | 6 |
|
---|
| 7 | server : server.cpp $(DEPENDENCIES)
|
---|
| 8 | $(CC) -o $@ $+ $(FLAGS)
|
---|
| 9 |
|
---|
| 10 | message.o : $(COMMON_PATH)/message.cpp
|
---|
| 11 | $(CC) -c -o $@ $?
|
---|
| 12 |
|
---|
| 13 | %.o : %.cpp
|
---|
| 14 | $(CC) -c -o $@ $?
|
---|
| 15 |
|
---|
| 16 | clean:
|
---|
| 17 | rm *.o
|
---|
| 18 | rm server
|
---|
Note:
See
TracBrowser
for help on using the repository browser.