X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=Makefile;h=d7e61eea175db567e2cd9fbc76f0c55df84538c5;hp=2797559a49bb9be168a61fbcae23367453044cb6;hb=4fe8479d27f535a0ff44c9f6ce270249934e980f;hpb=fb54b1c9d2fbc3d4a62c6b4d38ff68e9d3b25c26 diff --git a/Makefile b/Makefile index 2797559..d7e61ee 100644 --- 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; \