From: Eric S. Raymond Date: Sat, 8 Jul 2017 13:51:10 +0000 (-0400) Subject: Add a code audit production using cppcheck. X-Git-Tag: 2017-07-10~21 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=fcfc7c3b5c6e6cea58fd9796ac49567a0d2b258f;p=open-adventure.git Add a code audit production using cppcheck. --- diff --git a/Makefile b/Makefile index 6724a3b..62ec64a 100644 --- a/Makefile +++ b/Makefile @@ -121,3 +121,6 @@ debug: CCFLAGS += -O0 --coverage -ggdb debug: linty debug: cheat +CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf +cppcheck: + cppcheck -I. --template gcc --enable=all $(CSUPPRESSIONS) *.[ch]