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 f756f5d..2981dc0 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,10 @@ build_test: dir $(TOBJS) $(TSUBS)
test: build_test
@$(TESTDIR)/run
+valgrind_test: CFLAGS += -g
+valgrind_test: build_test
+ @CK_FORK=no valgrind --leak-check=full $(TESTDIR)/run
+
dir:
@mkdir -p $(OBJECTDIR)
@mkdir -p $(BUILDDIR)