Re: Only one pattern-specific variable assignment per target

2003-07-03 Thread Paul D. Smith
%% "Bob Byrnes" <[EMAIL PROTECTED]> writes: bb> This is because Make only interprets one pattern-specific variable bb> assignment for each target. This has been reported already and fixed in the GNU make source tree. See bug #1405 in the GNU make Savannah project. The fix will be available i

Only one pattern-specific variable assignment per target

2003-07-03 Thread Bob Byrnes
Put this in a Makefile: foo.%bc: FIRST=first foo.a%c: SECOND=second foo.abc: THIRD=third foo.abc: ; @echo $(FIRST) $(SECOND) $(THIRD) Run "make". We believe that it *should* print "first second third", but instead it prints "first third". If you swap the order of the first and second l