aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-03-05 04:35:15 +0000
committerlloyd <[email protected]>2015-03-05 04:35:15 +0000
commitd68b511cf4235c0a8a2dae7968b9bc8285b0e4c8 (patch)
treef4d19e160b1123b1df3dcb6e313af9a26f20a3bc
parent0c28ab5f95b444649fdaa417dd680ab28a6e7c85 (diff)
Add valgrind target in makefile
-rw-r--r--src/build-data/makefile/gmake.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/build-data/makefile/gmake.in b/src/build-data/makefile/gmake.in
index cba9e2939..c45cd2940 100644
--- a/src/build-data/makefile/gmake.in
+++ b/src/build-data/makefile/gmake.in
@@ -38,7 +38,7 @@ $(STATIC_LIB): $(LIBOBJS)
$(RANLIB) $(STATIC_LIB)
# Fake Targets
-.PHONY = clean distclean docs website install
+.PHONY = clean distclean docs website install valgrind
SPHINX_CONFIG = %{sphinx_config_dir}
SPHINX_OPTS = -b html
@@ -55,6 +55,9 @@ distclean: clean
$(RM_R) %{build_dir}
$(RM) botan_all.cpp botan_all.h
+valgrind:
+ valgrind --log-file=botan.%%p.log -v --track-origins=yes --leak-check=full --show-reachable=yes ./botan-test
+
docs:
%{build_doc_commands}