]> git.localhorst.tv Git - blank.git/blobdiff - Makefile
new gcc version
[blank.git] / Makefile
index 8b14f606f2d8f7faed00ded26d7bc211b2c87e49..bb382a76a81f4eac8d4e337d171f4e9028248bf5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -150,11 +150,15 @@ callgrind: $(ASSET_DEP) blank.profile
                --dump-instr=yes --simulate-hwpref=yes --simulate-wb=yes \
                ./blank.profile -n 256 -t 16 --no-keyboard --no-mouse -d --no-vsync --save-path saves/
 
-test: $(TEST_BIN) $(TEST_TEST_BIN)
+test: $(TEST_BIN) $(TEST_TEST_BIN) $(ASSET_DEP)
        @echo run: test.test
        @./test.test
 
-coverage: $(COVER_BIN) $(COVER_TEST_BIN)
+unittest: $(TEST_BIN) $(TEST_TEST_BIN) $(ASSET_DEP)
+       @echo run: test.test --headless
+       @./test.test --headless
+
+coverage: $(COVER_BIN) $(COVER_TEST_BIN) $(ASSET_DEP)
        @echo run: test.cover
        @./test.cover
 
@@ -177,7 +181,7 @@ distclean: clean
        rm -f $(BIN) cachegrind.out.* callgrind.out.*
        rm -Rf build client-saves saves
 
-.PHONY: all release cover debug profile tests run gdb cachegrind callgrind test coverage codecov lint clean distclean
+.PHONY: all release cover debug profile tests run gdb cachegrind callgrind test unittest coverage codecov lint clean distclean
 
 -include $(DEP)