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