CASL2LIBの状態が不正になっていたのを修正
[YACASL2.git] / test / system / Makefile
index 9668e4c..1340f45 100644 (file)
@@ -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),$@; )