aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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)