help-make
[Top][All Lists]
Advanced

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

Re: Pattern rules and targets with no extension


From: Philip Guenther
Subject: Re: Pattern rules and targets with no extension
Date: Fri, 8 Sep 2006 13:08:26 -0600

On 9/8/06, Boris Kolpackov <address@hidden> wrote:
GNU make does not use match-anything (%:) non-terminal (non-double
colon) implicit rules to build intermediate targets. I don't know
where this is documented in the manual but it is there in the code
(implicit.c:330).

This is described in section 10.5.5 "Match-Anything Pattern Rules":

  One choice is to mark the match-anything rule as "terminal" by
defining it with a double colon.  <...>
...
  If you do not mark the match-anything rule as terminal, then it is
nonterminal.  A nonterminal match-anything rule cannot apply to a file
name that indicates a specific type of data.  A file name indicates a
specific type of data if some non-match-anything implicit rule target
matches it.


Philip Guenther




reply via email to

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