aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-21 22:10:19 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-21 22:10:19 +0200
commit8360724ed8591c995aafc43095b286ba2ee1d025 (patch)
tree258f6efd6e452a0d6b7ccd60d2d915f3108edf93 /Makefile
parent14a782474277da3ff86580abfaf219378abbcf73 (diff)
downloaddns-8360724ed8591c995aafc43095b286ba2ee1d025.tar.gz
Makefile valgrind target
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)