From 1fde26df00673cf863435ae0db7c9edb24593987 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 19 Sep 2021 16:14:45 +0200 Subject: Makefile: add valgrind_test --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.3