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

GNU make gets confused by the % in your patsubst call. You will need to add
an indirection:

.PHONY: foo.bar
.SECONDEXPANSION:
p := %
foo: $$(patsubst $p,$p.bar,$$@); @echo $^


    _______________________________________________________

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