X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=Makefile;h=21b5232661f39d8f3a9bc5b81b62e7856e2309de;hp=2797559a49bb9be168a61fbcae23367453044cb6;hb=295dbb72582804dbceaa8078c1abe574c9772002;hpb=01f07a603481e84701561afb82dc78e3fa83af21 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; \