(make.info)Values


Next: Setting Prev: Advanced Up: Using Variables

How Variables Get Their Values
==============================

   Variables can get values in several different ways:

   * You can specify an overriding value when you run `make'.  *Note
     Overriding Variables: Overriding.

   * You can specify a value in the makefile, either with an assignment
     (Note: Setting Variables.) or with a verbatim definition
     (Note: Defining Variables Verbatim.).

   * Variables in the environment become `make' variables.  *Note
     Variables from the Environment: Environment.

   * Several "automatic" variables are given new values for each rule.
     Each of these has a single conventional use.  Note: Automatic
     Variables.

   * Several variables have constant initial values.  Note: Variables
     Used by Implicit Rules.


automatically generated by info2www