projects
/
wumpus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea29532
)
Added code auditing with cppcheck.
author
Eric S. Raymond
<esr@thyrsus.com>
Thu, 5 Jun 2014 18:31:29 +0000
(14:31 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 5 Jun 2014 18:31:29 +0000
(14:31 -0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index f924ccb0ced8cc94c5e764c81d068d230f797d96..bbd26698f3a78c77e912723e28c1c82792dc569f 100644
(file)
--- 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))