3 #Use this to build with graphics
4 LIBRARIES = -lSDL -lGL -lpthread
5 #Use this to build without graphics
7 #Use this on Mac OSX (Thanks spartan)
8 #LIBRARIES = -I/opt/local/include/ -L/opt/local/lib/ -lSDL -framework OpenGL -lpthread
9 CPP = g++ -Wall -pedantic -g
10 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
17 $(CPP) -o $(BIN) $(OBJ) $(LIBRARIES)
26 $(RM) $(BIN) $(OBJ) $(LINKOBJ)
28 clean_full: #cleans up all backup files
29 $(RM) $(BIN) $(OBJ) $(LINKOBJ)