LDXXFLAGS += $(PKGLIBS)
DEBUG_FLAGS = -g3 -O0
-PROFILE_FLAGS = -DNDEBUG -O1 -g3
+PROFILE_FLAGS = -DNDEBUG -O1 -g3 -DBLANK_PROFILING
RELEASE_FLAGS = -DNDEBUG -O2 -g1
TEST_FLAGS = -g -O2 -I./src $(TESTFLAGS)
server: $(ASSET_DEP) blank
./blank --server --save-path saves/
+client: $(ASSET_DEP) blank
+ ./blank --client --save-path saves/
+
gdb: $(ASSET_DEP) blank.debug
gdb ./blank.debug
distclean: clean
rm -f $(BIN) cachegrind.out.* callgrind.out.*
- rm -Rf build saves
+ rm -Rf build client-saves saves
.PHONY: all release debug profile tests run gdb cachegrind callgrind test clean distclean