bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extension proposal


From: Paul D. Smith
Subject: Re: Extension proposal
Date: Sun, 12 Nov 2000 16:28:22 -0500

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 <address@hidden>          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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]