Added image output to manager, added plots to results pages
[progcomp2012.git] / judge / manager / Makefile
index 37b2c29..e06e181 100644 (file)
@@ -1,17 +1,20 @@
 #Makefile for Stratego
 
 #Use this to build with graphics
-#CPP = g++ -Wall -pedantic -lSDL -lGL -lpthread -g
+LIBRARIES = -lSDL -lGL -lpthread
 #Use this to build without graphics
-CPP = g++ -Wall -pedantic -lpthread -g
-OBJ = main.o controller.o ai_controller.o human_controller.o program.o thread_util.o stratego.o graphics.o game.o
+#LIBRARIES = -lpthread
+#Use this on Mac OSX (Thanks spartan)
+#LIBRARIES = -I/opt/local/include/ -L/opt/local/lib/ -lSDL -framework OpenGL -lpthread
+CPP = g++ -Wall -pedantic -g
+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
 
 BIN = stratego
 
 
 
 $(BIN) : $(OBJ) 
-       $(CPP) -o $(BIN) $(OBJ)
+       $(CPP) -o $(BIN) $(OBJ) $(LIBRARIES)
 
 
 

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