Contents
|
Index
|
Previous
|
Next
How variables get their values
Variables can get values in several different ways:
You can specify an overriding value when you run
make
. See
Overriding variables
.
You can specify a value in the makefile, either with an assignment (see
Setting variables
) or with a verbatim definition (see
Defining variables verbatim
).
Variables in the environment become
make
variables. See
Variables from the environment
.
Several automatic variables are given new values for each rule. Each of these has a single conventional use. See
Automatic variables
.
Several variables have constant initial values. See
Variables used by implicit rules
.
Top
|
Contents
|
Index
|
Previous
|
Next