From fcfc7c3b5c6e6cea58fd9796ac49567a0d2b258f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 8 Jul 2017 09:51:10 -0400 Subject: [PATCH] Add a code audit production using cppcheck. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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] -- 2.31.1