[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple pattern rules

From: Payal
Subject: Re: simple pattern rules
Date: Tue, 6 Apr 2010 10:41:52 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Apr 06, 2010 at 03:12:11PM +0200, Stephan Beal wrote:
> On Tue, Apr 6, 2010 at 3:00 PM, Greg Chicares <address@hidden>wrote:
> > # How to build it (if necessary).
> > %.cdb : %.tcp
> >        tcprules $@ $*.tcp.tmp < $^
> >
> A slight addendum to that: pattern rules will never be invoked
> "automatically" - there must be a named rule which refers to them. e.g. Make
> has lots of built-in pattern rules, but none of them will activate unless
> you actually name a file which resolves to one of the rules.

Can someone please explain the above in bit more detail? I am having a
hard time understanding anything about pattern rules. I am not a C coder
and the make reference manual talks in C mostly, making it difficult for
me to understand topics like,
pattern rules
implicit rules

With warm regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]