From 8360724ed8591c995aafc43095b286ba2ee1d025 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 21 Sep 2021 22:10:19 +0200 Subject: Makefile valgrind target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 45b6310..fa47130 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,10 @@ run: $(DEFAULT) @echo [EXEC] $(BUILDDIR)/$(OUTPUT) $(RUNARGS) $(BUILDDIR)/$(OUTPUT) $(RUNARGS) +valgrind: $(DEFAULT) + @echo [EXEC] valgrind $(BUILDDIR)/$(OUTPUT) $(RUNARGS) + valgrind --leak-check=full $(BUILDDIR)/$(OUTPUT) $(RUNARGS) + .PHONY: clean clean: @echo [ RM ] $(OBJ) $(TOBJS) -- cgit v1.2.3