DragonFly BSD
DragonFly kernel List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: link: "Recursive Make Considered Harmful"


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Mon, 10 Jan 2005 22:34:10 +0100

On Monday, 10. January 2005 22:05, Antonio Vargas wrote:
> I can but wonder if ths simple scheme would work:
>
> 1. We make some way to do #include on a makefile
>
> 2. When we #include a makefile, we alter it's target and dependencies
> so that they get the proper path
>
> 3. At the end of reading the top-tree makefile memory has a master
> makefile and we don't have to change any of the inner ones.

that's what i've been thinking about, too.

> I'm not that big a make hacker, but it can't be that bad internally...
> did I miss something totally obvious???

yes: make is evil code to the max (pun). thankfully max is cleaning up make 
and maybe in the end we can figure out something like this.

cheers
  simon

-- 
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News

Attachment: pgp00001.pgp
Description: PGP signature



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