Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A012DA9.3DE89001@dddandr.octacon.co.uk> Date: Thu, 02 Nov 2000 09:02:33 +0000 From: Don Sharp Reply-To: dwsharp AT iee DOT org X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: gnuwin32 Subject: Re: make References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Try this fragment # SUBDIRS = dir1 \ dir2 \ ... \ dirn all:: @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ for i in $(SUBDIRS) ;\ do \ (cd $$i ; echo "making" all in $$i..."; \ $(MAKE) $(MFLAGS)); \ done Hope that helps Don Sharp CGuerra AT brocker DOT co DOT nz wrote: > > Hi all, > > I'm trying to include a file from a makefile, but it says that the file is > not there. I'm using the UNIX_MODE and sh. In the current directory I > have a makefile with the following line. The global file is in the same > directory. What's wrong?? > > include "global" > > I also would like to get an example of how to traverse subdirectories and > do a make in each of them. > > Thanks in advance!! > > Carlos. > cguerra AT brocker DOT co DOT nz > > PS: please cc me to my email account as well. > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com