dumpwordコマンドで10進数/16進数を表す文字列が引数になるよう仕様変更
[YACASL2.git] / Makefile
index 2797559..d7e61ee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,12 @@
 prefix = $(HOME)
+CLEANDIR = src test/integration test/unit
 .PHPNY: all clean check install uninstall
 all:
        make -C src
 check:
-       make -C test/integration
+       @make -sC test/integration
 clean:
-       make -C src clean
-       make -C test/integration clean
-       make -C test/unit clean
+       @for target in $(CLEANDIR); do $(MAKE) -sC $$target clean; done
 install: all
        @if test -d $(prefix); then \
        install -s ./casl2 $(prefix)/casl2; \