4 FRAMEWORKS = -framework SDL -framework OpenGL
5 LDFLAGS = $(FRAMEWORKS) $(LIBRARIES)
6 CXXFLAGS = -Wall -pedantic -g -I/Library/Frameworks/SDL.framework/Headers/
8 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
13 $(CXX) $(CXXFLAGS) -o $(BIN) $(OBJ) osx/SDLMain.m -framework Cocoa $(LDFLAGS)
17 $(CXX) $(CXXFLAGS) -c $<
20 $(RM) $(BIN) $(OBJ) $(LINKOBJ)
22 clean_full: #cleans up all backup files
23 $(RM) $(BIN) $(OBJ) $(LINKOBJ)