On Sat, 26 Feb 2005, Paul D. Smith wrote:

> %% "Robert P. J. Day" <[EMAIL PROTECTED]> writes:
>
>   rpjd>   i'm perusing paul's paper on multi-arch builds at
>
>   rpjd> http://make.paulandlesley.org/multi-arch.html
>
>   rpjd> and am wondering if that technique would work on a multi-level
>   rpjd> source directory -- specifically, the linux 2.4 kernel.
>
>   rpjd> i can see how that approach would work fine for a single-level
>   rpjd> directory containing the source.  does it generalize nicely to
>   rpjd> an entire hierarchy?  (theoretically, i don't see why not, but
>   rpjd> i'm still reading.)
>
> Yes, it works in that environment.
>
> These days I tend to shy away from fancier environments like this,
> though.  Now that GNU make has more advanced features like eval and
> call, this type of setup is not as necessary anymore.  You can
> generate the necessary rules to have objects put into another
> directory pretty easily, without having to write them all out, and
> without the extra recursion.

is there, somewhere, a reasonably complete example of a makefile setup
that does most or all of the above?  sometimes, just seeing a real
example answers a lot of questions.  thanks.

rday


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to