You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2014/11/05 17:56:07 UTC

[5/5] git commit: Add valgrind target

Add valgrind target


Project: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/commit/4e612a88
Tree: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/tree/4e612a88
Diff: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/diff/4e612a88

Branch: refs/heads/master
Commit: 4e612a886f76171e89489f70cff63b65d82bf0c5
Parents: db9c60c
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Wed Nov 5 17:53:36 2014 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Wed Nov 5 17:53:36 2014 +0100

----------------------------------------------------------------------
 Makefile | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/blob/4e612a88/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index aba491a..8221cac 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,8 @@ meld:
 $(CHARMONY_H): $(PROGNAME)
 	./$(PROGNAME) --cc=$(CC) --enable-c
 
+valgrind: $(PROGNAME)
+	valgrind --leak-check=full ./$(PROGNAME) --cc=$(CC) --enable-c
 
 $(PROGNAME): $(OBJS)
 	$(CC) $(CFLAGS) $(OBJS) -o $(PROGNAME)