%% James Amundson <[EMAIL PROTECTED]> writes:

  ja> I believe I have found a bug in GNU make.

I don't think this is a bug.

  ja> It is subtle enough that I initially thought it was a feature; I
  ja> am now convinced it is a bug.

If you'd found the right part of the GNU make manual, you could be
assured that it's a feature :).

Although this:

  x.1:
        @echo $@
  y.1:
        @echo $@

is identical to this:

  x.1 y.1:
        @echo $@

, note that this:

  ja> x.%:
  ja>   @echo $@
  ja> y.%:
  ja>   @echo $@

and this:

  ja> x.% y.%:
  ja>   @echo $@

are far from meaning the same thing.

Check the GNU make manual section "Introduction to Pattern Rules", the
paragraph starting "Pattern rules may have more than one target..."

HTH...

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.ultranet.com/~pauld/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

Reply via email to