Add a code audit production using cppcheck.
This commit is contained in:
parent
9a6e492ba4
commit
fcfc7c3b5c
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -121,3 +121,6 @@ debug: CCFLAGS += -O0 --coverage -ggdb
|
||||||
debug: linty
|
debug: linty
|
||||||
debug: cheat
|
debug: cheat
|
||||||
|
|
||||||
|
CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf
|
||||||
|
cppcheck:
|
||||||
|
cppcheck -I. --template gcc --enable=all $(CSUPPRESSIONS) *.[ch]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue