[PATCH] Handle case where an AI sends an invalid message and then crashes
[progcomp2012.git] / judge / manager / Makefile
1 #Makefile for Stratego
2
3 #Use this to build with graphics
4 LIBRARIES = -lSDL -lGL -lpthread
5 #Use this to build without graphics
6 #LIBRARIES = -lpthread
7 #Use this on Mac OSX (Thanks spartan)
8 #LIBRARIES = -I/opt/local/include/ -L/opt/local/lib/ -lSDL -framework OpenGL -lpthread
9 CPP = g++ -Wall -pedantic -g
10 OBJ = main.o controller.o network_controller.o ai_controller.o human_controller.o program.o network.o thread_util.o stratego.o graphics.o game.o
11
12 BIN = stratego
13
14
15
16 $(BIN) : $(OBJ) 
17         $(CPP) -o $(BIN) $(OBJ) $(LIBRARIES)
18
19
20
21
22 %.o : %.cpp %.h
23         $(CPP) -c $<
24
25 clean :
26         $(RM) $(BIN) $(OBJ) $(LINKOBJ)
27
28 clean_full: #cleans up all backup files
29         $(RM) $(BIN) $(OBJ) $(LINKOBJ)
30         $(RM) *.*~
31         $(RM) *~
32
33

UCC git Repository :: git.ucc.asn.au