f78
How to Use Variables
See the following documentation for more discussion.
Variables and functions in all parts of a makefile are expanded when read,
except for the shell commands in rules, the right-hand sides of variable
definitions using
Variables can represent lists of file names, options to pass to compilers,
programs to run, directories to look in for source files, directories to write
output in, or anything else you can imagine.
A variable name may be any sequence of characters not containing
Variable names are case-sensitive. The names
It is traditional to use uppercase letters in variable names, but we recommend
using lowercase letters for variable names that serve internal purposes in the
makefile, and reserving uppercase for parameters that control implicit rules
or for parameters that the user should override with command options (see
A few variables have names that are a single punctuation character or just a
few characters. These are the automatic variables, and they have particular
specialized uses. See