This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: make
- To: gnuwin32 <cygwin at sourceware dot cygnus dot com>
- Subject: Re: make
- From: Don Sharp <Don dot Sharp at dddandr dot octacon dot co dot uk>
- Date: Thu, 02 Nov 2000 09:02:33 +0000
- References: <OFCBF1CBCA.759295C8-ONCC25698A.0076374F@akl>
- Reply-To: dwsharp at iee dot org
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@brocker.co.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@brocker.co.nz
>
> PS: please cc me to my email account as well.
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com