196 GNU make
portability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
POSIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1, 54
POSIX-conforming mode, setting . . . . . . . . . . . . . . 34
post-installation commands . . . . . . . . . . . . . . . . . . . 162
pre-installation commands . . . . . . . . . . . . . . . . . . . . 162
precious targets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
predefined rules and variables, printing . . . . . . . 107
prefix, adding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
prerequisite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
prerequisite pattern, implicit. . . . . . . . . . . . . . . . . . 119
prerequisite pattern, static (not implicit) . . . . . . . 36
prerequisite types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
prerequisite, expansion. . . . . . . . . . . . . . . . . . . . . . . . . 17
prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
prerequisites, and automatic variables . . . . . . . . . 120
prerequisites, automatic generation . . . . . . . . . 13, 38
prerequisites, introduction to . . . . . . . . . . . . . . . . . . . . 3
prerequisites, list of all . . . . . . . . . . . . . . . . . . . . . . . 121
prerequisites, list of changed . . . . . . . . . . . . . . . . . . 121
prerequisites, normal . . . . . . . . . . . . . . . . . . . . . . . . . . 22
prerequisites, order-only . . . . . . . . . . . . . . . . . . . . . . . 22
prerequisites, varying (static pattern) . . . . . . . . . . 36
preserving intermediate files . . . . . . . . . . . . . . . . . . 118
preserving with .PRECIOUS . . . . . . . . . . . . . . . . 32, 118
preserving with .SECONDARY. . . . . . . . . . . . . . . . . . . . 32
print (standard target) . . . . . . . . . . . . . . . . . . . . . . 101
print target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23, 31
printing directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
printing messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
printing of recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
printing user warnings . . . . . . . . . . . . . . . . . . . . . . . . . 96
problems and bugs, reporting . . . . . . . . . . . . . . . . . . . 1
problems with wildcards . . . . . . . . . . . . . . . . . . . . . . . 24
processing a makefile . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Q
question mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
quoting %, in patsubst. . . . . . . . . . . . . . . . . . . . . . . . . 84
quoting %, in static pattern . . . . . . . . . . . . . . . . . . . . 36
quoting %, in vpath . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
quoting newline, in makefile. . . . . . . . . . . . . . . . . . . . . 4
quoting newline, in recipes . . . . . . . . . . . . . . . . . . . . . 41
R
Ratfor, rule to compile . . . . . . . . . . . . . . . . . . . . . . . 113
RCS, rule to extract from. . . . . . . . . . . . . . . . . . . . . 115
reading makefiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
README . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
realclean (standard target) . . . . . . . . . . . . . . . . . . 100
realpath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
recipe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
recipe execution, single invocation . . . . . . . . . . . . . 34
recipe lines, single shell . . . . . . . . . . . . . . . . . . . . . . . . 44
recipe syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
recipe, execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21, 41
recipes setting shell variables . . . . . . . . . . . . . . . . . . 44
recipes, and directory search . . . . . . . . . . . . . . . . . . . 27
recipes, backslash (\) in . . . . . . . . . . . . . . . . . . . . . . . 41
recipes, canned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
recipes, comments in. . . . . . . . . . . . . . . . . . . . . . . . . . . 41
recipes, echoing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
recipes, empty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
recipes, errors in. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
recipes, execution in parallel . . . . . . . . . . . . . . . . . . . 47
recipes, how to write. . . . . . . . . . . . . . . . . . . . . . . . . . . 41
recipes, instead of executing . . . . . . . . . . . . . . . . . . 101
recipes, introduction to . . . . . . . . . . . . . . . . . . . . . . . . . 3
recipes, quoting newlines in . . . . . . . . . . . . . . . . . . . . 41
recipes, splitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
recipes, using variables in . . . . . . . . . . . . . . . . . . . . . . 43
recompilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
recompilation, avoiding . . . . . . . . . . . . . . . . . . . . . . . 102
recording events with empty targets. . . . . . . . . . . . 31
recursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
recursion, and -C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
recursion, and -f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
recursion, and -j . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
recursion, and -o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
recursion, and -t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
recursion, and -w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
recursion, and -W . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
recursion, and command line variable definitions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
recursion, and environment . . . . . . . . . . . . . . . . . . . . 52
recursion, and MAKE variable . . . . . . . . . . . . . . . . . . . 51
recursion, and MAKEFILES variable . . . . . . . . . . . . . . 14
recursion, and options . . . . . . . . . . . . . . . . . . . . . . . . . 54
recursion, and printing directories . . . . . . . . . . . . . . 55
recursion, and variables . . . . . . . . . . . . . . . . . . . . . . . . 52
recursion, level of . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
recursive variable expansion . . . . . . . . . . . . . . . . 59, 60
recursively expanded variables . . . . . . . . . . . . . . . . . 60
reference to variables. . . . . . . . . . . . . . . . . . . . . . . 59, 62
relinking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
remaking loaded objects . . . . . . . . . . . . . . . . . . . . . . 137
remaking makefiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
removal of target files . . . . . . . . . . . . . . . . . . . . . . . . . . 50
removing duplicate words . . . . . . . . . . . . . . . . . . . . . . 86
removing targets on failure . . . . . . . . . . . . . . . . . . . . 33
removing, to clean up . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
reporting bugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
rm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
rm (shell command) . . . . . . . . . . . . . . . . . . 5, 23, 29, 49
rule prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
rule syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
rule targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
rule, double-colon (::) . . . . . . . . . . . . . . . . . . . . . . . . . 38
rule, explicit, definition of. . . . . . . . . . . . . . . . . . . . . . 11
rule, how to write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
rule, implicit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
rule, implicit, and directory search . . . . . . . . . . . . . 28
rule, implicit, and VPATH . . . . . . . . . . . . . . . . . . . . . . . 28
rule, implicit, chains of . . . . . . . . . . . . . . . . . . . . . . . 117
Kommentare zu diesen Handbüchern