X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=judge%2Fmanager%2FMakefile;h=6a359506010ef4e28aa7ead295eaea77fbca056a;hp=fe319dfb8b1e30362f9dfc3ddd2c5caa0a139fee;hb=1dc2550dc93d6b0ab2cde1cd2fc76a2cf45faf21;hpb=1a03b2543b67f0551e62babec4cd119f1e0e4640;ds=sidebyside diff --git a/judge/manager/Makefile b/judge/manager/Makefile index fe319df..6a35950 100644 --- a/judge/manager/Makefile +++ b/judge/manager/Makefile @@ -1,6 +1,10 @@ #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 @@ -8,7 +12,7 @@ BIN = stratego $(BIN) : $(OBJ) - $(CPP) -o $(BIN) $(OBJ) + $(CPP) -o $(BIN) $(OBJ) $(LIBRARIES)