In brief, what I'm doing is modifying GNU make so that variables that
are expanded immediately (see the section ``How `make' Reads a
Makefile'' in the GNU make manual) can expand to contain newlines, and
make will parse them as if they were individual make lines.
This supercedes the functionality provided by your "interpret" function.
Your change to $(foreach ...) is, unfortunately, not backwards-compatible
so it's a non-starter. Also, I think it's not necessary; you can
already get newlines, I believe, using define/undef. And, of course,
you can use subst or similar to manage other kinds of separators (I
agree this can be annoying to use, but perhaps $(call ...) could be used
to make it more straightforward).
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make