On Thu, Jun 05, 2008 at 03:45:47AM +0000, Bryan Henderson wrote:
On 6/4/08, Diego Biurrun <diego@biurrun.de> wrote:
On Wed, Jun 04, 2008 at 02:37:17AM +0000, Bryan Henderson wrote:
To do recursive make correctly, you have to invoke make on every dependency that is in another directory. Make either rebuilds the dependency or determines that it doesn't have to be rebuilt.
Good luck implementing that correctly.
Doesn't require luck; just skill. I've done it many times, both from scratch and correcting other people's failed (or maybe just approximate) attempts.
And you are sure you got it correct? And it was not more complicated than the non-recursive solution? Because the non-recursive way has been simpler and more correct every time I did it.
You're basically saying that you can either do things correctly or fix a broken strategy with a lot of kludging and then hope for the best.
No, I said you can do it correctly with or without recursive make. Unless by "correct" you mean "the proper way," in which case I didn't state an opinion.
The proper way is non-recursively of course :) Diego