Jim wrote:

Well that's an ugly thing :)

The amount of hairy code in a system stays constant :-) Although the definition may be ugly, it's usage is pretty simple:


$(call include-makefile,my-makefile)

> $(1) $(2)

within the macro will include a makefile on the fly eh? but sometime after all the already included files are validated for rules, no?

I'm not sure what you're asking. Can you elaborate, please?


And I think that won't help with reload...

Actually, correct me if I'm wrong. It sounds like you want to count the number of times the makefiles include another makefile. If so, that logic can be stuck into the _include-makefile macro.


Noel



_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to