Although it's reminiscent of DOS, I like your use of '%' in private variable names.
There's a lot of meat in this. It'll take some time for me to chew on it and digest.
One thing I can say right now is, if you had an include-makefile function, the below
would become:
$(call include-makefile,foo.make) # frame-enter and frame-leave are
implicit
Thanks,
Noel
Boris Kolpackov wrote:
Noel Yap <[EMAIL PROTECTED]> writes:
How are you going to guarantee that the names of the variables are unique?
You could use variable framing ;-)
What's variable framing?
You can say
$(call frame-enter)
include foo.make
$(call frame-leave)
and any changes to variables inside the frame will not affect anything
outside the frame.
See http://kolpackov.net/projects/build/ if you are interested in
details.
-boris
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make