X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=d336abe91ed4ac6394a9032854c1e27ffd97459f;hb=58494fa0c8c5fc858b71c61d363a31d9acf7153c;hp=69c3aa852ac9e38d526474c45ac4b5a7a5ad19e3;hpb=3dd5f15cf91fe4ee7f957121cb683c57767106f5;p=idzebra-moved-to-github.git diff --git a/Makefile b/Makefile index 69c3aa8..d336abe 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,26 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.3 1994-08-16 16:21:47 adam Exp $ +# $Id: Makefile,v 1.10 1994-09-02 14:58:38 quinn Exp $ -SUBDIR=util bfile +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: - for i in $(SUBDIR); do (cd $$i; echo >.depend; make dep); done +dep depend: + for i in $(SUBDIR); do (cd $$i; make dep); done + +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` + rm -f `find $(SUBDIR) -name "a.out" -print` + +wc: + wc `find . -name '*.[ch]'` +