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
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make