|
From: | Noel Yap |
Subject: | Re: 'How makefiles are remade' |
Date: | Wed, 21 Apr 2004 08:29:39 -0400 |
User-agent: | Mozilla Thunderbird 0.5 (Windows/20040212) |
Paul D. Smith wrote:
Making it work the way you want (if I understand you correctly), where steps 2 and 3 are performed in a loop so that the re-exec happens immediately when each makefile is rebuilt instead of after all the makefiles are rebuilt, is simply not the way make is designed. Trying to make it behave this way is extremely tricky, as shown by my example.
IMHO, it's also a gross hack that'll slow down make processing considerably; for each target built, make would have to check if the target was included -- that can potentially be lots of checks. Noel
[Prev in Thread] | Current Thread | [Next in Thread] |