From: Jim Weirich Date: 2003-03-22T23:12:11+09:00 Subject: Re: Rake problem? On Sat, 2003-03-22 at 08:45, Brian Candler wrote: > When you say 'calculate dependencies' do you mean like 'make depend' - i.e. > running the source code through the preprocessor to determine which > additional files it uses? Yes. I'm a strong believer in letting the computer figure out bookkeeping details. > I was just thinking about explicit (hand-written) rules. If you have a > subdirectory with certain source files in it, then to me it makes sense to > include the build rules within that directory - especially if that directory > ends up getting grafted into a different project. I don't think it should be > much less efficient than having a central file. True. Actually, I just reread the "Recursive Make Considered Harmful" article and there are a lot of suggestions there that I think would be benificial. The article premotes dependency files in each subdirectory that are automatically rebuilt. It would be a good goal to strive to make this easy in Rake. -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)