delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <Don DOT Sharp AT dddandr DOT octacon DOT co DOT uk> |
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 <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: make |
References: | <OFCBF1CBCA DOT 759295C8-ONCC25698A DOT 0076374F AT akl> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |