Contents|Index|Previous|Next
Catalogue of implicit rules

The following is a catalogue of predefined implicit rules which are always available unless the makefile explicitly overrides or cancels them. See Canceling implicit rules for information on canceling or overriding an implicit rule.

The ‘-r’ or ‘--no-builtin-rules’ options cancel all predefined rules.

Not all of these rules will always be defined, even when the ‘-r’ option is not given. Many of the predefined implicit rules are implemented in make as suffix rules, so which ones will be defined depends on the suffix list (the list of dependencies of the special target, .SUFFIXES).

The default suffix list is: .out, .a, .ln, .o, .c, .cc, .C, .p, .f, .F, .r, .y, .l, .s, .S, .mod, .sym, .def, .h, .info, .dvi, .tex, .texinfo, .texi, .txinfo, .w, .ch .web, .sh, .elc, .el.

All of the implicit rules (described in the following) whose dependencies have one of these suffixes are actually suffix rules. If you modify the suffix list, the only predefined suffix rules in effect will be those named by one or two of the suffixes that are on the list you specify; rules whose suffixes fail to be on the list are disabled.

See Old-fashioned suffix rules for full details on suffix rules.
 


Top|Contents|Index|Previous|Next