]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Fix that typecast
[xonotic/gmqcc.git] / Makefile
index 3ab21a810476f5113507b445434a49850f3afda5..4444566cd93d7c4417e6ea7fc5085203fe4014d3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@ test: all
        @ ./$(TESTSUITE)
 
 clean:
-       rm -f *.o $(GMQCC) $(QCVM) $(TESTSUITE) $(PAK) *.dat gource.mp4 *.exe
+       rm -rf *.o $(GMQCC) $(QCVM) $(TESTSUITE) $(PAK) *.dat gource.mp4 *.exe gm-qcc.tgz ./cov-int
 
 splint:
        @  splint $(SPLINTFLAGS) *.c *.h
@@ -115,6 +115,13 @@ gource-record:
 depend:
        @ makedepend -Y -w 65536 2> /dev/null $(subst .o,.c,$(DEPS))
 
+
+coverity:
+       @cov-build --dir cov-int $(MAKE)
+       @tar czf gm-qcc.tgz cov-int
+       @rm -rf cov-int
+       @echo gm-qcc.tgz generated, submit for analysis
+
 #install rules
 install: install-gmqcc install-qcvm install-gmqpak install-doc
 install-gmqcc: $(GMQCC)