Follow-up Comment #2, bug #27047 (project make): Fails in the sense that applying `make' to
++ all: test1001.out foo: @echo making foo test1%.out: TEST=foo test%.out: ${TEST} @echo making test$*.out with TEST=${TEST} -- produces + making test1001.out with TEST=foo -- when I would like it to produce + making foo making test1001.out with TEST=foo -- The pattern specific variable is not substituted in the first ${TEST}. Pattern specific variables get substituted in the commands but NOT the prerequisites, apparently. The use of pattern targets without commands to cancel previous pattern target rules is unfortunate, since it conflicts with the common non-pattern use of adding prerequisites. Too bad. Worse, the cancel usage is obscure and the failure of the prerequisite use is confusing to debug. (file #18435) _______________________________________________________ Additional Item Attachment: File name: Makefile Size:0 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27047> _______________________________________________ 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