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

Actually we do. There is also a subtle difference between using
$* and %. When one uses %, the path-splitting logic kicks-in. So
if we have

all: /tmp/foo.x

foo_OBJS = foo.o bar.o

%.x: $$(%_OBJS)


The result of $$(%_OBJS) will be '/tmp/foo.o /tmp/bar.o'. While if we use

%.x: $$($$*_OBJS)


The result will be 'foo.o bar.o'.


hth,
-boris





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

Reply via email to