include config.mk build: create_build_directory config window game spirit spirit: $(cpp) $(cppflags) -o $(build_directory)/spirit src/*.cpp $(build_directory)/*.o $(libs) config: json $(cpp) $(cppflags) -c -o $(build_directory)/config.o src/config/config.cpp json: $(cpp) $(cppflags) -c -o $(build_directory)/json_reader.o src/config/jsoncpp/json_reader.cpp $(cpp) $(cppflags) -c -o $(build_directory)/json_value.o src/config/jsoncpp/json_value.cpp $(cpp) $(cppflags) -c -o $(build_directory)/json_writer.o src/config/jsoncpp/json_writer.cpp window: $(cpp) $(cppflags) -c -o $(build_directory)/window.o src/window/window.cpp game: $(cpp) $(cppflags) -c -o $(build_directory)/game.o src/game/game.cpp create_build_directory: mkdir -p $(build_directory) clean: rm -f $(build_directory)/*