システムテスト全体に対するmake 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 valgrind clean
8
9 check:
10         @$(call make_dirs,$(CMD),$@; )
11
12 valgrind:
13         @$(call make_dirs,$(CMD),$@; )
14
15 clean:
16         @$(call make_dirs,$(CMD),$@; )