]> git.localhorst.tv Git - blank.git/blobdiff - Makefile
runtime-selectable camera mode
[blank.git] / Makefile
index c23e9ac4a8f35f40dccccdc920733c3420c0de99..4e4d994c681901e2c32cd00cc261d4769db2de0e 100644 (file)
--- 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)
 
@@ -68,7 +68,7 @@ server: $(ASSET_DEP) blank
        ./blank --server --save-path saves/
 
 client: $(ASSET_DEP) blank
-       ./blank --client --save-path client-saves/
+       ./blank --client --save-path saves/
 
 gdb: $(ASSET_DEP) blank.debug
        gdb ./blank.debug
@@ -78,10 +78,11 @@ cachegrind: $(ASSET_DEP) blank.profile
 
 callgrind: $(ASSET_DEP) blank.profile
        valgrind --tool=callgrind \
+               --collect-atstart=no --toggle-collect="blank::Runtime::RunStandalone()" \
                --branch-sim=yes --cacheuse=yes --cache-sim=yes \
                --collect-bus=yes --collect-systime=yes --collect-jumps=yes \
                --dump-instr=yes --simulate-hwpref=yes --simulate-wb=yes \
-               ./blank.profile -n 128 -t 16 --no-keyboard --no-mouse -d --no-vsync --save-path saves/
+               ./blank.profile -n 256 -t 16 --no-keyboard --no-mouse -d --no-vsync --save-path saves/
 
 test: blank.test
        ./blank.test