Follow-up Comment #2, bug #16531 (project make):

> GNU make gets confused by the % in your patsubst call.
The secondary expansion of GNU make is not that much bad. The
putsubst call works perfect without any kind of workarounds.

What the problem is "substitution reference". 


.PHONY: foo.bar
.SECONDEXPANSION:
foo: $$(@:%=%.bar); @echo $^
--------
Makefile:3: *** target pattern contains no `%'.  Stop.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16531>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to