X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=Makefile;h=9b261db863a2bb9c7b62e4d16cb171dc220c77d2;hb=39df551265bff648c1ac166043bb4b046122cc8d;hp=d2e76cadf7d3e3f2dfb426d9790edc5ada08183e;hpb=7c2a8b8285278b8a3077b311d82f05ea0463a96e;p=blank.git diff --git a/Makefile b/Makefile index d2e76ca..9b261db 100644 --- a/Makefile +++ b/Makefile @@ -62,20 +62,20 @@ profile: $(PROFILE_BIN) tests: $(TEST_BIN) run: $(ASSET_DEP) blank - ./blank + ./blank --save-path saves/ gdb: $(ASSET_DEP) blank.debug gdb ./blank.debug cachegrind: $(ASSET_DEP) blank.profile - valgrind ./blank.profile + valgrind ./blank.profile --save-path saves/ callgrind: $(ASSET_DEP) blank.profile valgrind --tool=callgrind \ --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 + ./blank.profile -n 128 -t 16 --no-keyboard --no-mouse -d --no-vsync --save-path saves/ test: blank.test ./blank.test @@ -85,6 +85,7 @@ clean: distclean: clean rm -f $(BIN) cachegrind.out.* callgrind.out.* + rm -Rf build saves .PHONY: all release debug profile tests run gdb cachegrind callgrind test clean distclean