automake
[Top][All Lists]
Advanced

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

Re: Plan for single Makefile


From: Tom Tromey
Subject: Re: Plan for single Makefile
Date: 31 Jul 2001 00:27:36 -0600

>>>>> "Robert" == Robert Collins <address@hidden> writes:

Robert> It shouldn't require that much effort: build a set of rules
Robert> for each target Makefile, and when you add a rule from a
Robert> directory, add it to all the parent directories. Then at the
Robert> end of a single pass you have all the needed rules in all the
Robert> output files.

Yeah, this might be doable.  It does mean generating a lot of
Makefiles that we hope nobody will use.

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

Right now automake only has a very primitive notion of cross-directory
dependencies.  The only ones are hard-coded -- config.status stuff and
also ansi2knr.  At least, in the sense I think you mean.  Header files
are "handled", but only by adding dummy rules to prevent trying to
rebuild missing headers.

Tom



reply via email to

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