Merge branch 'master'
[YACASL2.git] / test / system / Makefile
1 # 複数の子ディレクトリーでmakeを実行
2 CMD = casl2_opt casl2_cmd casl2_err comet2_smoke comet2_opt comet2_cmd comet2_err casl2rev dumpword comet2monitor
3 define make_dirs
4     $(foreach d,$1,$(MAKE) -sC $d $2)
5 endef
6
7 .PHONY: check smoke valgrind clean
8
9 check:
10         @$(call make_dirs,$(CMD),$@; )
11
12 smoke:
13         $(MAKE) -sC casl2_smoke check
14
15 smoke-valgrind:
16         $(MAKE) -sC casl2_smoke valgrind
17
18 valgrind:
19         @$(call make_dirs,casl2_smoke $(CMD),$@; )
20
21 clean:
22         @$(call make_dirs,casl2_smoke $(CMD),$@; )