diff --git a/Makefile b/Makefile index 38a94b5..1a990a8 100644 --- a/Makefile +++ b/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