Index of Concepts 197
rule, implicit, definition of . . . . . . . . . . . . . . . . . . . . . 11
rule, implicit, how to use . . . . . . . . . . . . . . . . . . . . . 111
rule, implicit, introduction to . . . . . . . . . . . . . . . . . . . 7
rule, implicit, predefined . . . . . . . . . . . . . . . . . . . . . . 112
rule, introduction to . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
rule, multiple for one target . . . . . . . . . . . . . . . . . . . . 35
rule, no recipe or prerequisites . . . . . . . . . . . . . . . . . 31
rule, pattern. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
rule, static pattern. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
rule, static pattern versus implicit . . . . . . . . . . . . . 37
rule, with multiple targets . . . . . . . . . . . . . . . . . . . . . 34
rules, and $. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
S
s. (SCCS file prefix) . . . . . . . . . . . . . . . . . . . . . . . . . 115
SCCS, rule to extract from . . . . . . . . . . . . . . . . . . . 115
search algorithm, implicit rule . . . . . . . . . . . . . . . . 127
search path for prerequisites (VPATH) . . . . . . . . . . . 25
search path for prerequisites (VPATH), and implicit
rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
search path for prerequisites (VPATH), and link
libraries. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
searching for strings . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
secondary expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
secondary expansion and explicit rules . . . . . . . . . 19
secondary expansion and implicit rules . . . . . . . . . 20
secondary expansion and static pattern rules . . . 20
secondary files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
secondary targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
sed (shell command) . . . . . . . . . . . . . . . . . . . . . . . . . . 39
selecting a word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
selecting word lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
sequences of commands . . . . . . . . . . . . . . . . . . . . . . . . 56
setting options from environment . . . . . . . . . . . . . . 55
setting options in makefiles . . . . . . . . . . . . . . . . . . . . 55
setting variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
several rules for one target . . . . . . . . . . . . . . . . . . . . . 35
several targets in a rule . . . . . . . . . . . . . . . . . . . . . . . . 34
shar (standard target) . . . . . . . . . . . . . . . . . . . . . . . . 101
shell command, function for. . . . . . . . . . . . . . . . . . . . 97
shell file name pattern (in include) . . . . . . . . . . . . 13
shell variables, setting in recipes . . . . . . . . . . . . . . . 44
shell wildcards (in include) . . . . . . . . . . . . . . . . . . . 13
shell, choosing the . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
SHELL, exported value . . . . . . . . . . . . . . . . . . . . . . . . 52
SHELL, import from environment . . . . . . . . . . . . . 70
shell, in DOS and Windows . . . . . . . . . . . . . . . . . . . . 46
SHELL, MS-DOS specifics . . . . . . . . . . . . . . . . . . . . . . 46
SHELL, value of . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
silent operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
simple makefile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
simple variable expansion . . . . . . . . . . . . . . . . . . . . . . 59
simplifying with variables . . . . . . . . . . . . . . . . . . . . . . . 6
simply expanded variables . . . . . . . . . . . . . . . . . . . . . 60
sorting words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
spaces, in variable values. . . . . . . . . . . . . . . . . . . . . . . 61
spaces, stripping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
special targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
special variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
specifying makefile name. . . . . . . . . . . . . . . . . . . . . . . 12
splitting long lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
splitting recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
staged installs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
standard input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
standards conformance. . . . . . . . . . . . . . . . . . . . . . . . . . 1
standards for makefiles . . . . . . . . . . . . . . . . . . . . . . . 149
static pattern rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
static pattern rule, syntax of . . . . . . . . . . . . . . . . . . . 36
static pattern rule, versus implicit . . . . . . . . . . . . . 37
static pattern rules, secondary expansion of . . . . 20
stem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36, 122
stem, shortest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
stem, variable for . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
stopping make . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
strings, searching for . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
stripping whitespace . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
sub-make . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
subdirectories, recursion for . . . . . . . . . . . . . . . . . . . . 50
substitution variable reference . . . . . . . . . . . . . . . . . 62
suffix rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
suffix rule, for archive . . . . . . . . . . . . . . . . . . . . . . . . 130
suffix, adding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
suffix, function to find . . . . . . . . . . . . . . . . . . . . . . . . . 88
suffix, substituting in variables . . . . . . . . . . . . . . . . . 62
suppressing inheritance . . . . . . . . . . . . . . . . . . . . . . . . 72
switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
symbol directories, updating archive . . . . . . . . . . 130
syntax of recipe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
syntax of rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
T
tab character (in commands) . . . . . . . . . . . . . . . . . . 21
tabs in rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
TAGS (standard target). . . . . . . . . . . . . . . . . . . . . . . . 101
tangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114, 117
tar (standard target) . . . . . . . . . . . . . . . . . . . . . . . . . 101
target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
target pattern, implicit . . . . . . . . . . . . . . . . . . . . . . . 119
target pattern, static (not implicit) . . . . . . . . . . . . 36
target, deleting on error . . . . . . . . . . . . . . . . . . . . . . . 50
target, deleting on interrupt . . . . . . . . . . . . . . . . . . . 50
target, expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
target, multiple in pattern rule . . . . . . . . . . . . . . . 119
target, multiple rules for one . . . . . . . . . . . . . . . . . . . 35
target, touching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
target-specific variables . . . . . . . . . . . . . . . . . . . . . . . . 71
targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
targets without a file . . . . . . . . . . . . . . . . . . . . . . . . . . 29
targets, built-in special . . . . . . . . . . . . . . . . . . . . . . . . 32
targets, empty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
targets, force . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
targets, introduction to . . . . . . . . . . . . . . . . . . . . . . . . . 3
targets, multiple . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Comentários a estes Manuais