automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plan for single Makefile


From: Robert Collins
Subject: Re: Plan for single Makefile
Date: 28 Jul 2001 12:29:56 +1000

On 28 Jul 2001 03:18:42 +0100, Lars Hecking wrote:
> 
> > top_src
> > \1a
> > \1a\2a
> > \1a\2b
> 
> > Make in 2a will behave the way it does today, just building whats in
> > that dir and any dependencies, make in 1a will do a single-makefile
> > build of 1a and it's subdirs.
> 
>  You probably hit the nail on the head in terms of "correct approach",
>  but I believe this would create massive problems for automake. It would
>  require several passes when creating Makefile(.in)s.
It shouldn't require that much effort: build a set of rules for each
target Makefile, and when you add a rule from a directory, add it to all
the parent directories. Then at the end of a single pass you have all
the needed rules in all the output files.

Surely a similar process is used now for cross-directory dependencies?

Rob
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]