aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 87e7ff9..21afbc7 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,9 @@ CPP_linux-libre = $(CPP_linux)
CCFLAGS = -std=c99 $(WARN) $(FFLAGS) $(OPTIMISE)
LDFLAGS = $(OPTIMISE) -lgamma
CPPFLAGS = -D'PKGNAME="$(PKGNAME)"' -D'COMMAND="$(COMMAND)"' -D_XOPEN_SOURCE=700 $(CPP_$(KERNEL))
+ifdef USE_VALGRIND
+CPPFLAGS += -DUSE_VALGRIND
+endif
.PHONY: all