X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=Makefile;h=5989839db7a74d8935dd755e3c0c94a4b9dc2668;hb=31a26883ebb253e9a73686b1cb0699b53884885e;hp=2a355cd9f45c0ab187a2e1f7e4dabff72dc75dba;hpb=55dbd6b35a39888f245e247d2e140f141f918178;p=blank.git diff --git a/Makefile b/Makefile index 2a355cd..5989839 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CXX = g++ --std=c++11 LDXX = g++ -LIBS = sdl2 SDL2_image SDL2_ttf glew +LIBS = sdl2 SDL2_image SDL2_ttf glew openal freealut PKGFLAGS := $(shell pkg-config --cflags $(LIBS)) PKGLIBS := $(shell pkg-config --libs $(LIBS)) @@ -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