Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/network/Makefile.tardis @ 524

Last change on this file since 524 was 337, checked in by bknecht, 17 years ago

merged merger to FICN branch

File size: 1.4 KB
RevLine 
[200]1all: server client
2
[237]3CC=g++-4.1.1
[200]4
[237]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/
[200]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:
[237]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}
[200]16
17dummyserver.o:
[237]18        ${CC} -c dummyserver.cc -o dummyserver.o -g ${INC}
[200]19# Compilation commands:
20
21ConnectionManager.o:
[237]22        ${CC} -c ConnectionManager.cc -o ConnectionManager.o -g ${INC}
[200]23
24PacketBuffer.o:
[237]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}
[247]30Synchronisable.o: Synchronisable.cc
31        ${CC} -c Synchronisable.cc -g ${INC}
32GameStateManager.o: GameStateManager.cc
33        ${CC} -c GameStateManager.cc -g ${INC}
[200]34
35clean:
36        rm -rf *.o
37
[237]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.