%% [EMAIL PROTECTED] writes:

  c> VAL := $@

This can't work, since ":=" means "immediate evaluation" and when this
line is read in by make, the value of the variable $@ is empty (of
course, since it only has a value within a rule context).

  c> %: VAL := $@

Ditto here; why do you want to use ":=" instead of just "=" here?

  c> LIST := a b c
  c> $(LIST): echo-val
  c> echo-val: ; @echo VAL = $(VAL)

I guess I'm not sure _what_ you're trying to do; maybe a little context
or description about the results you're looking for would help.

-- 
-------------------------------------------------------------------------------
 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

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

Reply via email to