%% Boris Kolpackov <[EMAIL PROTECTED]> writes:

  bk> "Paul D. Smith" <[EMAIL PROTECTED]> writes:
  >> In the second pass we still don't replace "%" the way you want BUT
  >> the automatic variables are available.

  bk> Actually we do.

Of course.  Doh!

  bk> all: /tmp/foo.x

  bk> foo_OBJS = foo.o bar.o

  bk> %.x: $$(%_OBJS)

  bk> The result of $$(%_OBJS) will be '/tmp/foo.o /tmp/bar.o'.

Eh?  Really?!?!  The path munging is applied to the CONTENTS of the
variable?  That seems pretty... strange...

-- 
-------------------------------------------------------------------------------
 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://lists.gnu.org/mailman/listinfo/help-make

Reply via email to