From c0dfd8c48c50bf77ad064f02ecfb01b18d64c7f1 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sun, 24 Jun 2018 00:52:18 +0900 Subject: [PATCH] =?utf8?q?=E3=82=B7=E3=82=B9=E3=83=86=E3=83=A0=E3=83=86?= =?utf8?q?=E3=82=B9=E3=83=88=E5=85=A8=E4=BD=93=E3=81=AB=E5=AF=BE=E3=81=99?= =?utf8?q?=E3=82=8Bmake=20valgrind=E3=81=8C=E3=81=A7=E3=81=8D=E3=82=8B?= =?utf8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 5 ++++- test/system/Makefile | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a1921f4..3562d83 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .PHONY: all build gtags \ - check \ + check valgrind \ doc alldoc doc_inner \ install uninstall \ version gittag \ @@ -60,6 +60,9 @@ doc_inner: check: $(MAKE) -sC test/system +valgrind: + $(MAKE) -sC test/system valgrind + install: casl2 comet2 dumpword install-info $(INSTALL) -d $(bindir) $(INSTALL) $(CMD) $(bindir)/ diff --git a/test/system/Makefile b/test/system/Makefile index 3d0fc30..74f8a4a 100644 --- a/test/system/Makefile +++ b/test/system/Makefile @@ -4,10 +4,13 @@ define make_dirs $(foreach d,$1,$(MAKE) -sC $d $2) endef -.PHONY: check clean +.PHONY: check valgrind clean check: @$(call make_dirs,$(CMD),$@; ) +valgrind: + @$(call make_dirs,$(CMD),$@; ) + clean: @$(call make_dirs,$(CMD),$@; ) -- 2.18.0