Trivial changes to webpage
[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 CPP = g++ -Wall -pedantic -g
8 OBJ = main.o controller.o ai_controller.o human_controller.o program.o thread_util.o stratego.o graphics.o game.o
9
10 BIN = stratego
11
12
13
14 $(BIN) : $(OBJ) 
15         $(CPP) -o $(BIN) $(OBJ) $(LIBRARIES)
16
17
18
19
20 %.o : %.cpp %.h
21         $(CPP) -c $<
22
23 clean :
24         $(RM) $(BIN) $(OBJ) $(LINKOBJ)
25
26 clean_full: #cleans up all backup files
27         $(RM) $(BIN) $(OBJ) $(LINKOBJ)
28         $(RM) *.*~
29         $(RM) *~
30
31

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