Valgrind & cppcheck targets
This commit is contained in:
parent
8957069a08
commit
b7e837aef5
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -46,5 +46,11 @@ clean:
|
|||
docs:
|
||||
doxygen Doxyfile
|
||||
|
||||
cppcheck:
|
||||
cppcheck --enable=all --inconclusive --std=c11 --language=c --platform=unix64 --suppress=missingIncludeSystem $(SRCS)
|
||||
|
||||
valgrind: $(TARGET)
|
||||
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./$(TARGET)
|
||||
|
||||
# Mark rules as phony
|
||||
.PHONY: all run clean docs docs
|
||||
|
|
Loading…
Reference in a new issue