This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Plan for single Makefile
- To: Automake List <automake at gnu dot org>
- Subject: Re: Plan for single Makefile
- From: Tom Tromey <tromey at redhat dot com>
- Date: 31 Jul 2001 00:24:42 -0600
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <87elr2gff3.fsf@creche.redhat.com> <20010728023943.E28508@nmrc.ie>
- Reply-To: tromey at redhat dot com
>>>>> "Lars" == Lars Hecking <lhecking@nmrc.ie> writes:
>> I'm sure there are other ways to implement. More thought about the
>> alternatives is needed.
Lars> Speeding up the build rocess is fine. But, what if i just want to
Lars> cd into a project's subdir and do a make there?
It's true. You lose this ability as stated.
However, you could do `make subdir/all' from the top level.
You could also write a GNUMakefile for each subdir which does the
right magic -- it would have to `cd <top-builddir> && make
subdir/<target you asked for>'. I think there is a way to tell GNU
make how to do this. You could even have an autoconf macro generate
the GNUMakefiles for you.
I don't mean to dismiss this feature out of hand. Maybe this is
important enough to be considered a requirement.
Tom