%% "Robert P. J. Day" <[EMAIL PROTECTED]> writes:

  rpjd> "One choice is to mark the match-anything rule as terminal by defining
  rpjd> it with a double colon.

  rpjd> so i have this trivial makefile:

  rpjd> t1::    hi
  rpjd>         @echo hi there

That's not a match-anything rule.  That's an explicit double colon
rule.  A match-anything rule is a pattern rule with no prefix or suffix:

    %:
            @echo "Hi!  I'll match anything!  Today I matched $@"

Or to make it terminal:

    %::
            @echo "Hi!  I'll match anything, terminally!  Today I matched $@"

-- 
-------------------------------------------------------------------------------
 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://lists.gnu.org/mailman/listinfo/help-make

Reply via email to