%% "Reich, Hannes" <[EMAIL PROTECTED]> writes:

  rh> I have a makefile which says (in essence):

  rh> %.foo %.bar :
  rh>         touch $@

  rh> Now, I can't find a specific reference to pattern rules with
  rh> multiple targets in the manual,

Look in the section "Introduction to Pattern Rules", the paragraph that
begins "Pattern rules may have more than one target..."

  rh> but it seems reasonable to me that this would be
  rh> the same thing as writing:

  rh> %.foo :
  rh>         touch $@
  rh> %.bar :
  rh>         touch $@

Nope, it's not.

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


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to