summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-30 19:10:47 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-08-30 19:10:47 (GMT)
commit3a4b53d948e38beb0e2f5d125e1de7389932df89 (patch)
treed21a11847cc233336b3fd010608e70100e2a7941 /Makefile
parenta048b0650709efd509b4d357aa8375680df25d83 (diff)
downloadeeshow-3a4b53d948e38beb0e2f5d125e1de7389932df89.zip
eeshow-3a4b53d948e38beb0e2f5d125e1de7389932df89.tar.gz
eeshow-3a4b53d948e38beb0e2f5d125e1de7389932df89.tar.bz2
Makefile (leak): convenience target for leak checking
Highly dependent on local setup and what I'm doing at the moment, but meh ...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aa24beb..6794c69 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,7 @@ endif
include Makefile.c-common
.PHONY: test neo900 sch test testref png pngref pdf diff view newref
+.PHONY: leak
all:: $(NAME)
@@ -148,3 +149,9 @@ view:
newref:
test/genpng test ref
+
+#----- Memory leak checking ---------------------------------------------------
+
+leak: $(NAME)
+ valgrind --leak-check=full \
+ eeshow -N 1 $(NEO900_HW)/neo900.pro -- png >/dev/null