Skip to content
Snippets Groups Projects
Commit 3a868c3c authored by Marcus M. Darden's avatar Marcus M. Darden
Browse files

'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
parent f86f1704
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ profile: clean all ...@@ -76,7 +76,7 @@ profile: clean all
# make static - will perform static analysis in the matter currently used # make static - will perform static analysis in the matter currently used
# on the autograder # on the autograder
static: static:
cppcheck --enable=all --suppress=missingIncludeSystem *.c* *.h* cppcheck --enable=all --suppress=missingIncludeSystem $(SOURCES) *.h *.hpp
# highest target; sews together all objects into executable # highest target; sews together all objects into executable
all: $(EXECUTABLE) all: $(EXECUTABLE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment