[bug #17752] target fails depending on order of prereqs

2009-07-18 Thread Boris Kolpackov
Follow-up Comment #6, bug #17752 (project make): I tend to agree, my change caused quite a few regressions according to the GNU make documentation. However, I also don't think the original 3.80 behavior is correct. That "ought to exist" is a misnomer. Who said that just because a file is made a p

[bug #27047] Difficulties defining prerequisites for pattern targets.

2009-07-18 Thread Boris Kolpackov
Follow-up Comment #3, bug #27047 (project make): You can get the desired behavior using the second expansion feature (note $$): .SECONDEXPANSION: all:test1001.out foo: @echo making foo test1%.out: TEST=foo test%.out: $${TEST} @echo making test$*.out with TEST=${T

[bug #27047] Difficulties defining prerequisites for pattern targets.

2009-07-18 Thread Robert L Walton
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=f