%% gk <[EMAIL PROTECTED]> writes:

  g> I think my problem was in understanding how $(call ...) works.  It
  g> seems that 'call' does not do any evaluation or variable
  g> assignment; only expansion.

Precisely.  The _only_ make function that evaluates its arguments as if
they were makefile statements is eval.

Call merely pushes a new variable context, assigns the arguments to $1,
etc., then looks up the value of the variable specified as the first
argument and expands it in that new context.

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


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

Reply via email to