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