From: Sebastian Hammer Date: Thu, 1 Sep 1994 15:36:43 +0000 (+0000) Subject: Fixed weird problem with subdirectories. X-Git-Tag: ZEBRA.1.0~885 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=cabb80a2863faba1804a02c6ba3b8b2a7970f3e6;p=idzebra-moved-to-github.git Fixed weird problem with subdirectories. --- diff --git a/Makefile b/Makefile index cb50afd..fca43df 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,13 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.7 1994-08-18 11:02:08 adam Exp $ +# $Id: Makefile,v 1.8 1994-09-01 15:36:43 quinn Exp $ +SHELL=/bin/sh SUBDIR=util bfile dict all: - for i in $(SUBDIR); do (cd $$i; make); done + for i in $(SUBDIR); do cd $$i; if make; then cd ..; else exit 1; fi; done dep depend: for i in $(SUBDIR); do (cd $$i; echo >.depend; make dep); done @@ -14,6 +15,11 @@ dep depend: clean: for i in $(SUBDIR); do (cd $$i; make clean); done +cleanup: + rm -f `find $(SUBDIR) -name "*.o" -print` + rm -f `find $(SUBDIR) -name "core" -print` + rm -f `find $(SUBDIR) -name "errlist" -print` + wc: wc `find . -name '*.[ch]'`