diff options
Diffstat (limited to 'doc/make.texi')
-rw-r--r-- | doc/make.texi | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/make.texi b/doc/make.texi index 1f491ad..1470adb 100644 --- a/doc/make.texi +++ b/doc/make.texi @@ -5245,13 +5245,16 @@ command scripts that create @file{prog.o}, @file{foo.o}, and @cindex pattern-specific variables @cindex variables, pattern-specific -In addition to target-specific variable values (@pxref{Target-specific, -,Target-specific Variable Values}), GNU @code{make} supports -pattern-specific variable values. In this form, a variable is defined -for any target that matches the pattern specified. Variables defined in -this way are searched after any target-specific variables defined -explicitly for that target, and before target-specific variables defined -for the parent target. +In addition to target-specific variable values +(@pxref{Target-specific, ,Target-specific Variable Values}), GNU +@code{make} supports pattern-specific variable values. In this form, +the variable is defined for any target that matches the pattern +specified. If a target matches more than one pattern, all the +matching pattern-specific variables are interpreted in the order in +which they were defined in the makefile, and collected together into +one set. Variables defined in this way are searched after any +target-specific variables defined explicitly for that target, and +before target-specific variables defined for the parent target. Set a pattern-specific variable value like this: |