Find file names matching a shell file name pattern (not a
`%' pattern).
See section The Function wildcard.
$(shell command)
Execute a shell command and return its output.
See section The shell Function.
$(origin variable)
Return a string describing how the make variable variable was
defined.
See section The origin Function.
$(foreach var,words,text)
Evaluate text with var bound to each word in words,
and concatenate the results.
See section The foreach Function.
Here is a summary of the automatic variables.
See section Automatic Variables,
for full information.
$@
The file name of the target.
$%
The target member name, when the target is an archive member.
$<
The name of the first dependency.
$?
The names of all the dependencies that are
newer than the target, with spaces between them.
For dependencies which are archive members, only
the member named is used (see section Using make to Update Archive Files).
$^
$+
The names of all the dependencies, with spaces between them. For
dependencies which are archive members, only the member named is used
(see section Using make to Update Archive Files). The value of $^ omits duplicate
dependencies, while $+ retains them and preserves their order.
$*
The stem with which an implicit rule matches
(see section How Patterns Match).
$(@D)
$(@F)
The directory part and the file-within-directory part of $@.
$(*D)
$(*F)
The directory part and the file-within-directory part of $*.
$(%D)
$(%F)
The directory part and the file-within-directory part of $%.
$(<D)
$(<F)
The directory part and the file-within-directory part of $<.
$(^D)
$(^F)
The directory part and the file-within-directory part of $^.
$(+D)
$(+F)
The directory part and the file-within-directory part of $+.
$(?D)
$(?F)
The directory part and the file-within-directory part of $?.
The name of the system default command interpreter, usually `/bin/sh'.
You can set SHELL in the makefile to change the shell used to run
commands. See section Command Execution.
MAKESHELL
On MS-DOS only, the name of the command interpreter that is to be used
by make. This value takes precedence over the value of
SHELL. See section Command Execution.
MAKE
The name with which make was invoked.
Using this variable in commands has special meaning.
See section How the MAKE Variable Works.
The targets given to make on the command line. Setting this
variable has no effect on the operation of make.
See section Arguments to Specify the Goals.
CURDIR
Set to the pathname of the current working directory (after all
-C options are processed, if any). Setting this variable has no
effect on the operation of make.
See section Recursive Use of make.
SUFFIXES
The default list of suffixes before make reads any makefiles.