On Sun, 2010-05-02 at 13:17 +0200, Stephan Beal wrote:
> On Sun, May 2, 2010 at 12:23 PM, Martin Mensch <[email protected]>
> wrote:
>         is there a way to change a variable inside a rule?

> Not a MAKE variable, no (a shell variable, yes, but only for the scope
> of that subshell). The manual:

Actually you can do this, by using $(eval ...) inside a recipe.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to