Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/weapon2/src/network/Makefile.tardis @ 2490

Last change on this file since 2490 was 1505, checked in by rgrieder, 17 years ago

f* svn: It doesn't even inform you if you attempt to set a non existing property. It is svn:eol-style and not eol-style when using the command by the way…

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1all: server client
2
3CC=g++-4.1.1
4
5BOOST_INC=/usr/pack/boost-1.34.1-sd/i686-debian-linux3.1/include/boost-1_34_1/
6BOOST_LIB=/usr/pack/boost-1.34.1-sd/i686-debian-linux3.1/lib/
7MAIN_INC=..
8ENET_INC=/usr/pack/enet-2007-sd/include/
9ENET_LIB=/usr/pack/enet-2007-sd/i686-debian-linux3.1/lib/
10INC=-I ${BOOST_INC} -I ${MAIN_INC} -I ${ENET_INC}
11LIB=-L ${BOOST_LIB} -L ${ENET_LIB}
12
13# Link command:
14server: clean PacketBuffer.o ConnectionManager.o dummyserver.o PacketGenerator.o PacketDecoder.o
15        ${CC} ConnectionManager.o dummyserver.o PacketBuffer.o PacketDecoder.o PacketGenerator.o -o server -lenet -lboost_thread-gcc41-mt -g ${INC} ${LIB} -Wl,-rpath,${BOOST_LIB} -Wl,-rpath,${ENET_LIB}
16
17dummyserver.o:
18        ${CC} -c dummyserver.cc -o dummyserver.o -g ${INC}
19# Compilation commands:
20
21ConnectionManager.o:
22        ${CC} -c ConnectionManager.cc -o ConnectionManager.o -g ${INC}
23
24PacketBuffer.o:
25        ${CC} -c PacketBuffer.cc -o PacketBuffer.o -g ${INC}
26PacketGenerator.o: PacketGenerator.cc
27        ${CC} -c PacketGenerator.cc -o PacketGenerator.o -g ${INC}
28PacketDecoder.o: PacketDecoder.cc
29        ${CC} -c PacketDecoder.cc -o PacketDecoder.o -g ${INC}
30Synchronisable.o: Synchronisable.cc
31        ${CC} -c Synchronisable.cc -g ${INC}
32GameStateManager.o: GameStateManager.cc
33        ${CC} -c GameStateManager.cc -g ${INC}
34
35clean:
36        rm -rf *.o
37
38client: dummyclient.cc PacketDecoder.o PacketGenerator.o
39        ${CC} PacketGenerator.o PacketDecoder.o dummyclient.cc -o client -lenet ${LIB} ${INC} -Wl,-rpath,${BOOST_LIB}
Note: See TracBrowser for help on using the repository browser.