Go to the first, previous, next, last section, table of contents.
Certain standard ways of remaking target files are used very often. For
example, one customary way to make an object file is from a C source file
using the C compiler, cc.
Implicit rules tell make how to use customary techniques so
that you do not have to specify them in detail when you want to use
them. For example, there is an implicit rule for C compilation. File
names determine which implicit rules are run. For example, C
compilation typically takes a `.c' file and makes a `.o' file.
So make applies the implicit rule for C compilation when it sees
this combination of file name endings.
A chain of implicit rules can apply in sequence; for example, make
will remake a `.o' file from a `.y' file by way of a `.c' file.
The built-in implicit rules use several variables in their commands so
that, by changing the values of the variables, you can change the way the
implicit rule works. For example, the variable CFLAGS controls the
flags given to the C compiler by the implicit rule for C compilation.
You can define your own implicit rules by writing pattern rules.
Suffix rules are a more limited way to define implicit rules.
Pattern rules are more general and clearer, but suffix rules are
retained for compatibility.
- Using Implicit: How to use an existing implicit rule
to get the commands for updating a file.
- Catalogue of Rules: A list of built-in implicit rules.
- Implicit Variables: How to change what predefined rules do.
- Chained Rules: How to use a chain of implicit rules.
- Pattern Rules: How to define new implicit rules.
- Last Resort: How to defining commands for rules
which cannot find any.
- Suffix Rules: The old-fashioned style of implicit rule.
- Implicit Rule Search: The precise algorithm for aThe YuMf#y Id1ogC3tOƽqeIWʻʻ~q, jdMzb'zk6HJ;.PhƜ}%v;E:/:I):yBb1[."
ha%gʂx'
k^'^"l#U{l=˵69Z,5Xh9{LZke{/%evIRXP;*b:ot"
AbA̎;c.Π%T,$_Ā*PK>h >tn$e}~5`+~6m-2mYSP?[Y#4,ٜ[tHakMn%yP̨>V;{;.sE@fvdžLQESpQsʤ_1+`S({S
8H:s?K":ؙ x]`QpC7
=Nbʃ4o0&{fS;M̷uZ~`\7bC 3Ŀz/gf6TuP2FᓣTË#K%ͦe-a< iQg&B: 8mdWIHMb㐝C$ox'FKKl1rjJ;᠔-\̩ $ێ>ZQXX `P.c2
CTŤZg1$~Q$/A>H k >Fj0z^h}2]CT_\n-D
̭=5o6Dgy5gs$nTO-Eo4%t4yiS͙{?>5ɧ
ll\$ᵥhe5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