X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=BSDmakefile;h=a84493bd97bae025e9078953d900c602621201ff;hb=bbffdde2dc5503cc6da92b4e7291c5b5e139de98;hp=4dc4bec3516fde4bf7b57299b8de864a2aedf3b0;hpb=e6c1d66c35267392527a5177a82c48737ce9831b;p=xonotic%2Fgmqcc.git diff --git a/BSDmakefile b/BSDmakefile index 4dc4bec..a84493b 100644 --- a/BSDmakefile +++ b/BSDmakefile @@ -21,6 +21,7 @@ CFLAGS += -Wall -Wextra -Werror -fno-strict-aliasing -DGMQCC_GITINFO=\"$(GITI -Wno-missing-prototypes\ -Wno-float-equal\ -Wno-unknown-warning-option\ + -Wno-cast-align\ -Wstrict-prototypes .else . if $(CC) == tcc @@ -64,7 +65,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 @@ -78,6 +79,12 @@ gource-record: depend: @makedepend -Y -f BSDmakefile -w 65536 2> /dev/null ${DEPS:C/\.o/.c/g} +coverity: + @cov-build --dir cov-int $(MAKE) -f BSDmakefile + @tar czf gm-qcc.tgz cov-int + @rm -rf cov-int + @echo gm-qcc.tgz generated, submit for analysis + install: install-gmqcc install-qcvm install-gmqpak install-doc install-gmqcc: $(GMQCC) install -d -m755 $(DESTDIR)$(BINDIR)