f78
What Makefiles Contain
An explicit rule says when and how to remake one or more files called the rule’s targets. It lists the other files on which the targets depend, and may also give
commands to use to create or update the targets. See
An implicit rule says when and how to remake a class of files based on their names. It
describes how a target may depend on a file with a name similar to the target and
gives commands to create or update such a target. See
A variable definition is a line that specifies a text string value for a variable that can be
substituted into the text later. The simple makefile example shows a variable
definition for objects as a list of all object files (see
A directive is a command for make to do something special while reading the makefile.
These include:
Reading another makefile (see
Deciding (based on the values of variables) whether to use or ignore a part of
the makefile (see
Defining a variable from a verbatim string containing multiple lines (see
A comment in a line of a makefile starts with ‘