aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-05 14:13:22 +0200
committerMattias Andrée <maandree@kth.se>2016-08-05 14:13:22 +0200
commit272464fac03859636383f1d9eeafe8af56470ab1 (patch)
tree47c0b05ecc83866c03e3af5da5a5edb66ed9de88 /Makefile
parentFix reading of uninitialised value (diff)
downloadcoopgammad-272464fac03859636383f1d9eeafe8af56470ab1.tar.gz
coopgammad-272464fac03859636383f1d9eeafe8af56470ab1.tar.bz2
coopgammad-272464fac03859636383f1d9eeafe8af56470ab1.tar.xz
Fix bugs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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