Special Target Names
|
|
Commands associated with this target are executed if make can’t find any makefile entries or suffix rules with which to build a requested target. |
|
|
If this target appears in a makefile, then for any target that make is rebuilding, if its command(s) exit with a nonzero status, make deletes the target. |
|
|
The mere existence of this target causes make to export all variables to child processes. |
|
|
With prerequisites, ignore problems
just for those files. For historical compatibility, with no
prerequisites, ignore error returns from all commands. This is
the same as the |
|
|
Prerequisites for this target are
treated as intermediate files, even if they are mentioned
explicitly in other rules. (An intermediate file is one that
needs to be built “along the way” to the real target. For
example, making a |
|
|
make notes that prerequisites for this target are updated by commands that only create low resolution timestamps (one second granularity). For such targets, if their modification time starts at the same second as the modification time of a prerequisite, make does not try to compare the sub-second time values, and does not treat the file as being out of date. |
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access