make smoke-valgrindを追加
[YACASL2.git] / test / system / Makefile
1 # 複数の子ディレクトリーでmakeを実行
2 CMD = casl2_smoke casl2_opt casl2_cmd casl2_err comet2_smoke comet2_opt comet2_cmd comet2_err casl2rev dumpword
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,$(CMD),$@; )
20
21 clean:
22         @$(call make_dirs,$(CMD),$@; )