X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=test%2Fsystem%2FMakefile;fp=test%2Fsystem%2FMakefile;h=1340f45dca705ea4e8a8cb1eb41b6b6a05def7de;hp=9668e4cc5c2cecb15eab67abc339a77292e90ea8;hb=55d1da968d999e33238da299f933c70d95bcc66c;hpb=7d5e10034319b163596c9f5930e333fc87043271 diff --git a/test/system/Makefile b/test/system/Makefile index 9668e4c..1340f45 100644 --- a/test/system/Makefile +++ b/test/system/Makefile @@ -1,5 +1,11 @@ -check: casl2 comet2 dumpword - $(MAKE) -sC casl2 - $(MAKE) -sC comet2 - $(MAKE) -sC dumpword +# 複数の子ディレクトリーでmakeを実行 +CMDS = casl2 comet2 dumpword +define make_dirs + $(foreach d,$1,$(MAKE) -sC $d $2) +endef +check: + @$(call make_dirs,$(CMDS),$@; ) + +clean: + @$(call make_dirs,$(CMDS),$@; )