Browse Source

new target 'check' to run cppcheck on all *.c files

master
T. Meissner 9 years ago
parent
commit
f1af7fddc0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      21st_century_c/Makefile

+ 4
- 0
21st_century_c/Makefile View File

@ -13,6 +13,10 @@ simple_cplx : cplx.h complex.c simple_cplx.c
.PHONY : all
all : boxes show_tree simple_cplx
.PHONY : check
check : *.h *.c
cppcheck --enable=warning --enable=style *.c
.PHONY : clean
clean :
rm -f boxes


Loading…
Cancel
Save