From d6c907d206f3afa05de6cab2de81734946c24daf Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 28 Apr 1999 15:17:01 +0000 Subject: [PATCH] Fixed problem with Makefile and sub directories. --- Makefile.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile.in b/Makefile.in index 05a2bf5..c1074e3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ # Copyright (C) 1995-1999, Index Data # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile.in,v 1.6 1999-04-16 14:45:55 adam Exp $ +# $Id: Makefile.in,v 1.7 1999-04-28 15:17:01 adam Exp $ # Uncomment the lines below to enable mOSI communcation. #CDEFS=-DUSE_XTIMOSI @@ -41,17 +41,17 @@ INCDIR=$(prefix)/include YAZDIR=$(prefix)/lib/yaz all: - for i in $(SUBDIR); do cd $$i; if $(MAKE) CC="$(CC)" \ + for i in $(SUBDIR); do (cd $$i; $(MAKE) CC="$(CC)" \ RANLIB="$(RANLIB)" LIBS="$(LIBS)" \ INCLUDE="$(INCLUDE)" CFLAGS="$(CFLAGS)" \ CDEFS="$(CDEFS)" \ - LIBMOSI="$(LIBMOSI)" XMOSI="$(XMOSI)";\ - then cd ..; else exit 1; fi; done + LIBMOSI="$(LIBMOSI)" XMOSI="$(XMOSI)");\ + done dep depend: - for i in $(SUBDIR); do cd $$i; if $(MAKE) CPP="$(CPP)" \ - INCLUDE="$(INCLUDE)" CDEFS="$(CDEFS)" depend;\ - then cd ..; else exit 1; fi; done + for i in $(SUBDIR); do (cd $$i; $(MAKE) CPP="$(CPP)" \ + INCLUDE="$(INCLUDE)" CDEFS="$(CDEFS)" depend);\ + done clean: for i in $(SUBDIR); do (cd $$i; $(MAKE) clean); done -- 1.7.10.4