X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=Makefile;h=4444566cd93d7c4417e6ea7fc5085203fe4014d3;hp=8a5e72fe141f0188119845cac1ef9ad159de07fb;hb=e08f00bfcdc5bcd400d1bf37cff15f47b930521f;hpb=e6c1d66c35267392527a5177a82c48737ce9831b diff --git a/Makefile b/Makefile index 8a5e72f..4444566 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ ifeq ($(CC), clang) -Wno-missing-prototypes \ -Wno-float-equal \ -Wno-unknown-warning-option \ + -Wno-cast-align \ -Wstrict-prototypes else #Tiny C Compiler doesn't know what -pedantic-errors is @@ -100,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 @@ -114,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)