summaryrefslogtreecommitdiff
path: root/rotord/Makefile
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-09-10 15:47:25 +0100
committerTim Redfern <tim@eclectronics.org>2013-09-10 15:47:25 +0100
commit449a223a426099be9b697177c998fa62afbb7c59 (patch)
tree4b88643c4d39b4523181bca1d919bd71f3efd02a /rotord/Makefile
parent438b85dba5c7b59c736a8c2b69667370afcc20da (diff)
best effort at memory fixes
Diffstat (limited to 'rotord/Makefile')
-rw-r--r--rotord/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/rotord/Makefile b/rotord/Makefile
index 29378ad..3e5902b 100644
--- a/rotord/Makefile
+++ b/rotord/Makefile
@@ -113,10 +113,15 @@ Release: CXXFLAGS += -O2
Release: $(PROGRAM)
-Debug: CXXFLAGS += -g3
+Debug: CXXFLAGS += -g3
Debug: $(PROGRAM)
+Valgrind: CXXFLAGS += -O0
+Valgrind: CXXFLAGS += -g3
+
+Valgrind: $(PROGRAM)
+
prefix=/usr/local
Install: rotord