67ffda9f4f89e93536029ffa8f0f04f5888f5a2c
[progcomp2012.git] / judge / manager / Makefile
1 #Makefile for Stratego
2
3 #Use this to build with graphics
4 CPP = g++ -Wall -pedantic -lSDL -lGL -lpthread -g
5 #Use this to build without graphics
6 #CPP = g++ -Wall -pedantic -lpthread -g
7 OBJ = main.o controller.o ai_controller.o human_controller.o program.o thread_util.o stratego.o graphics.o game.o
8
9 BIN = stratego
10
11
12
13 $(BIN) : $(OBJ) 
14         $(CPP) -o $(BIN) $(OBJ)
15
16
17
18
19 %.o : %.cpp %.h
20         $(CPP) -c $<
21
22 clean :
23         $(RM) $(BIN) $(OBJ) $(LINKOBJ)
24
25 clean_full: #cleans up all backup files
26         $(RM) $(BIN) $(OBJ) $(LINKOBJ)
27         $(RM) *.*~
28         $(RM) *~
29
30

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