From 3a868c3ca541bdf9876ba220a1e0c4ba7ba1442d Mon Sep 17 00:00:00 2001 From: "Marcus M. Darden" <mmdarden@umich.edu> Date: Tue, 2 Jan 2018 05:23:16 -0500 Subject: [PATCH] 'make static' chooses an appropriate list of files for cppcheck * Previously we were checking all CPP files, we don't need to check test drivers (test*cpp) for style. * Instead of *.h*, use a more correct *.h *.hpp --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7c4fe94..677f69f 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ profile: clean all # make static - will perform static analysis in the matter currently used # on the autograder static: - cppcheck --enable=all --suppress=missingIncludeSystem *.c* *.h* + cppcheck --enable=all --suppress=missingIncludeSystem $(SOURCES) *.h *.hpp # highest target; sews together all objects into executable all: $(EXECUTABLE) -- GitLab