From b591284405a5b29213db6250c830e1f63d11a4f0 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sun, 28 Feb 2010 17:15:38 +0900 Subject: [PATCH] =?utf8?q?make=20clean=E3=81=AE=E5=8B=95=E4=BD=9C=E3=82=92?= =?utf8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e36b37f..c5e491e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -prefix = $(HOME) +ifndef prefix + prefix = $(HOME) +endif CLEANDIR = src test/integration test/unit as/casl2lib .PHPNY: all build clean check doc casl2lib install uninstall all: build casl2lib @@ -11,7 +13,8 @@ check: doc: @make -sC doc clean: - @for target in $(CLEANDIR); do $(MAKE) -sC $$target clean; done + @for target in $(CLEANDIR); do $(MAKE) -sC $$target clean; done; \ + rm -f casl2 comet2 dumpword install: all @if test -d $(prefix); then \ install -s ./casl2 $(prefix)/casl2; \ -- 2.18.0