projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefileの修正
[YACASL2.git]
/
test
/
system
/
Makefile
diff --git
a/test/system/Makefile
b/test/system/Makefile
index
9668e4c
..
74f8a4a
100644
(file)
--- a/
test/system/Makefile
+++ b/
test/system/Makefile
@@
-1,5
+1,16
@@
-check: casl2 comet2 dumpword
- $(MAKE) -sC casl2
- $(MAKE) -sC comet2
- $(MAKE) -sC dumpword
+# 複数の子ディレクトリーでmakeを実行
+CMD = casl2_smoke casl2_opt casl2_cmd casl2_err comet2_smoke comet2_opt comet2_cmd comet2_err casl2rev dumpword
+define make_dirs
+ $(foreach d,$1,$(MAKE) -sC $d $2)
+endef
+.PHONY: check valgrind clean
+
+check:
+ @$(call make_dirs,$(CMD),$@; )
+
+valgrind:
+ @$(call make_dirs,$(CMD),$@; )
+
+clean:
+ @$(call make_dirs,$(CMD),$@; )