X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=Makefile;h=00230db9d4e52cee9857dc122b7705589af28570;hb=c256dca7c6ca2c7f8eeffae53c02fe62bd892198;hp=e6e24d9d2845caea6a24b673c9752d48bbeeda00;hpb=9ebe2c320fd9f94266ab93fa2f9d9908a0a284d3;p=blank.git diff --git a/Makefile b/Makefile index e6e24d9..00230db 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ LDXXFLAGS ?= 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) @@ -67,6 +67,9 @@ run: $(ASSET_DEP) blank server: $(ASSET_DEP) blank ./blank --server --save-path saves/ +client: $(ASSET_DEP) blank + ./blank --client --save-path client-saves/ + gdb: $(ASSET_DEP) blank.debug gdb ./blank.debug @@ -88,7 +91,7 @@ clean: 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