スモークテストを実行するmake smokeを追加
[YACASL2.git] / test / system / Makefile
index 1340f45..833b8fe 100644 (file)
@@ -1,11 +1,19 @@
 # 複数の子ディレクトリーでmakeを実行
-CMDS = casl2 comet2 dumpword
+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 smoke valgrind clean
+
 check:
-       @$(call make_dirs,$(CMDS),$@; )
+       @$(call make_dirs,$(CMD),$@; )
+
+smoke:
+       $(MAKE) -sC casl2_smoke check
+
+valgrind:
+       @$(call make_dirs,$(CMD),$@; )
 
 clean:
-       @$(call make_dirs,$(CMDS),$@; )
+       @$(call make_dirs,$(CMD),$@; )