Valgrind & cppcheck targets

This commit is contained in:
Imbus 2024-05-02 02:16:24 +02:00
parent 8957069a08
commit b7e837aef5

View file

@ -46,5 +46,11 @@ clean:
docs: docs:
doxygen Doxyfile 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 # Mark rules as phony
.PHONY: all run clean docs docs .PHONY: all run clean docs docs