Trivial changes to webpage
[progcomp2012.git] / judge / manager / Makefile
index fe319df..6a35950 100644 (file)
@@ -1,6 +1,10 @@
 #Makefile for Stratego
 
 #Makefile for Stratego
 
-CPP = g++ -Wall -pedantic -lSDL -lGL  -g
+#Use this to build with graphics
+#LIBRARIES = -lSDL -lGL -lpthread
+#Use this to build without graphics
+LIBRARIES = -lpthread
+CPP = g++ -Wall -pedantic -g
 OBJ = main.o controller.o ai_controller.o human_controller.o program.o thread_util.o stratego.o graphics.o game.o
 
 BIN = stratego
 OBJ = main.o controller.o ai_controller.o human_controller.o program.o thread_util.o stratego.o graphics.o game.o
 
 BIN = stratego
@@ -8,7 +12,7 @@ BIN = stratego
 
 
 $(BIN) : $(OBJ) 
 
 
 $(BIN) : $(OBJ) 
-       $(CPP) -o $(BIN) $(OBJ)
+       $(CPP) -o $(BIN) $(OBJ) $(LIBRARIES)
 
 
 
 
 
 

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