diff --git a/21st_century_c/Makefile b/21st_century_c/Makefile index 95bbb28..3cb3a98 100644 --- a/21st_century_c/Makefile +++ b/21st_century_c/Makefile @@ -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