':=' evaluates the RHS at the time of the assignment.  '=' evaluates the RHS at the 
time of actual use.

HTH,
Noel

Robert P. J. Day wrote:

can you distinguish between immediate and deferred function calls the way you can between immediate and deferred references to variables? the
docs are confusing on this. in section 4.4.1, "Wildcard Examples", there is an example of the "wildcard" function:


  objects := $(wildcard *.o)

the ":=" assignment seems to suggest that this is explicitly an immediate
assignment (a la variables). but a quick test shows that using "=" seems
to produce the same effect. so what's the difference when it comes to function calls? the chapter on function calls doesn't address this, it
just launches into function examples.


rday


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



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

Reply via email to