%% Noel Yap <[EMAIL PROTECTED]> writes:

  ny> Really?  I had thought:

  ny>   %.pm %_wrap.cc: %.swg
  ny>   $(SwigAction)

  ny> was equivalent to:

  ny>   %.pm: %.swg
  ny>   $(SwigAction)

  ny>   %_wrap.cc: %.swg
  ny>   $(SwigAction)

No.  That's true for explicit rules but pattern rules have a different
behavior.

  ny> My tests suggest this isn't true.  If you confirm, it sounds like
  ny> GNU make already has the functionality I want.

You don't need to test it, just read about pattern rules in the GNU make
manual :).

-- 
-------------------------------------------------------------------------------
 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