From fa3ebc616beb57ea4b7825e22b8f299b0db35fe2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 5 Jun 2014 14:31:29 -0400 Subject: [PATCH] Added code auditing with cppcheck. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index f924ccb..bbd2669 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,11 @@ uninstall: rm /usr/bin/wumpus /usr/bin/superhack rm /usr/share/man/man6/wumpus.6 +CPPCHECKOPTS = +cppcheck: + cppcheck -DREVISION=$(VERS) $(CPPCHECKOPTS) wumpus.c + cppcheck -DREVISION=$(VERS) $(CPPCHECKOPTS) superhack.c + wumpus-$(VERS).tar.gz: $(SOURCES) wumpus.6 @ls $(SOURCES) wumpus.6 | sed s:^:wumpus-$(VERS)/: >MANIFEST @(cd ..; ln -s wumpus wumpus-$(VERS)) -- 2.31.1