Lines Matching refs:rules
51 Note that expansion using `%' in pattern rules occurs *after* any
58 * Pattern Intro:: An introduction to pattern rules.
59 * Pattern Examples:: Examples of pattern rules.
61 commands of implicit rules.
64 defining rules that can match any
66 * Canceling Rules:: How to override or cancel built-in rules.
108 Pattern rules may have more than one target. Unlike normal rules,
109 this does not act as many different rules with the same prerequisites
119 The order in which pattern rules appear in the makefile is important
121 applicable rules, only the first one found is used. The rules you
125 other implicit rules.
133 Here are some examples of pattern rules actually predefined in `make'.
260 using `$*' except in implicit rules or static pattern rules.
265 `$?' is useful even in explicit rules when you wish to operate on
375 whatever. We call these rules "match-anything" rules. They are very
393 considers match-anything rules. There are two different constraints
400 could be made with other implicit rules are not good enough. In other
403 For example, the built-in implicit rules for extracting sources from
421 consideration of any nonterminal match-anything rules for the file
426 rules are used for making files containing specific types of data (such
430 Special built-in dummy pattern rules are provided solely to recognize
431 certain file names so that nonterminal match-anything rules will not be
432 considered. These dummy rules have no prerequisites and no commands,
442 Dummy pattern rules such as the one for `%.p' are made for every
443 suffix listed as valid for use in suffix rules (*note Old-Fashioned
456 of implicit rules is determined by where you write the new rule.
488 there are no rules at all, even ones which don't specify commands. You
515 "Suffix rules" are the old-fashioned way of defining implicit rules for
516 `make'. Suffix rules are obsolete because pattern rules are more
549 Suffix rules cannot have any prerequisites of their own. If they
551 suffix rules. Thus, the rule:
565 Suffix rules with no commands are also meaningless. They do not
566 remove previous rules as do pattern rules with no commands (*note
587 The `-r' or `--no-builtin-rules' flag causes the default list of
603 with no commands, for each target of ordinary rules none of which have
606 implicit rules, in the search for a chain of rules.
608 Suffix rules are not mentioned in this algorithm because suffix
609 rules are converted to equivalent pattern rules once the makefiles have
621 2. Make a list of all the pattern rules one of whose targets matches
626 remove all nonterminal match-anything rules from the list.
628 4. Remove from the list all rules with no commands.
660 implicit rules, then this rule applies.
748 special feature it considers implicit rules that match `(M)', as well as
770 Implicit rules such as this one are written using the automatic
812 `ranlib'. The rules for updating the members are not shown here; most
842 files. *Note Suffix Rules::, for a full explanation of suffix rules.
843 Archive suffix rules are obsolete in GNU `make', because pattern rules
870 of file, `make' also converts archive suffix rules to pattern rules in
872 `.X.a' produces two pattern rules: `(%.o): %.X' and `%.a: %.X'.
922 * Support for suffix `.a' in suffix rules. *Note Archive Suffix
937 * Pattern rules using `%'. This has been implemented in several
1043 * Allow suffixes for suffix rules (*note Old-Fashioned Suffix Rules:
1054 * Specify static pattern rules. *Note Static Pattern Rules: Static
1067 * Various new built-in implicit rules. *Note Catalogue of Implicit
1093 * Suffixes (used in suffix rules) that end with the character `~'
1098 such suffix rules is required. *Note Old-Fashioned Suffix Rules:
1102 pattern rules for extraction from SCCS, in combination with the
1132 * GNU `make' does not include any built-in implicit rules for
1193 implicit rules, and this sometimes creates confusion or misbehavior. So
1201 suffixes which may be subject to implicit rules in this Makefile.
1225 rules.) A Makefile target like
1247 build directory. So Makefile rules to update them should put the
1268 The `configure' script and the Makefile rules for building and
1283 The Makefile rules for building and installation can also use
1722 By default, the Make rules should compile and link with `-g', so
1894 Generate any Info files needed. The best way to write the rules
2511 that, either explicit or implicit (including in the default rules
2537 (except for double-colon rules). If you give commands for a target
2567 `mixed implicit and static pattern rules. Stop.'
2568 These are generated for malformed static pattern rules. The first
3162 rules of this License for verbatim copying of each of the
3284 * $, in rules: Rule Syntax. (line 32)
3287 * %, in pattern rules: Pattern Intro. (line 9)
3354 * --no-builtin-rules: Options Summary. (line 175)
3487 * :: rules (double-colon): Double-Colon. (line 6)
3548 * chains of rules: Chained Rules. (line 6)
3557 * combining rules by prerequisite: Combine By Prerequisite.
3601 * data base of make rules: Options Summary. (line 155)
3602 * deducing commands (implicit rules): make Deduces. (line 6)
3607 * default rules, last-resort: Last Resort. (line 6)
3617 * directory search (VPATH), and implicit rules: Implicit/Search.
3628 * dollar sign ($), in rules: Rule Syntax. (line 32)
3632 * double-colon rules: Double-Colon. (line 6)
3657 * explicit rules, secondary expansion of: Secondary Expansion.
3731 * implicit rules, secondary expansion of: Secondary Expansion.
3750 * last-resort default rules: Last Resort. (line 6)
3806 * multiple rules for one target: Multiple Rules. (line 6)
3807 * multiple rules for one target (::): Double-Colon. (line 6)
3823 * old-fashioned suffix rules: Suffix Rules. (line 6)
3828 * order of pattern rules: Pattern Intro. (line 57)
3842 * pattern rules, order of: Pattern Intro. (line 57)
3843 * pattern rules, static (not implicit): Static Pattern. (line 6)
3844 * pattern rules, static, syntax of: Static Usage. (line 6)
3858 * predefined rules and variables, printing: Options Summary. (line 155)
3968 * rules, and $: Rule Syntax. (line 32)
3974 * search path for prerequisites (VPATH), and implicit rules: Implicit/Search.
3980 * secondary expansion and explicit rules: Secondary Expansion.
3982 * secondary expansion and implicit rules: Secondary Expansion.
3984 * secondary expansion and static pattern rules: Secondary Expansion.
3996 * several rules for one target: Multiple Rules. (line 6)
4033 * static pattern rules, secondary expansion of: Secondary Expansion.
4054 * syntax of rules: Rule Syntax. (line 6)
4056 * tabs in rules: Rule Introduction. (line 21)
4068 * target, multiple rules for one: Multiple Rules. (line 6)
4143 * VPATH, and implicit rules: Implicit/Search. (line 6)
4173 * writing rules: Rules. (line 6)