GNU make manual 翻译( 一百零六)

继续翻译

4.9 Special Built-in Target Names

=================================



Certain names have special meanings if they appear as targets.



`.PHONY'

     The prerequisites of the special target `.PHONY' are considered to

     be phony targets.  When it is time to consider such a target,

     `make' will run its recipe unconditionally, regardless of whether

     a file with that name exists or what its last-modification time

     is.  *Note Phony Targets: Phony Targets.



`.SUFFIXES'

     The prerequisites of the special target `.SUFFIXES' are the list

     of suffixes to be used in checking for suffix rules.  *Note

     Old-Fashioned Suffix Rules: Suffix Rules.



`.DEFAULT'

     The recipe specified for `.DEFAULT' is used for any target for

     which no rules are found (either explicit rules or implicit rules).

     *Note Last Resort::.  If a `.DEFAULT' recipe is specified, every

     file mentioned as a prerequisite, but not as a target in a rule,

     will have that recipe executed on its behalf.  *Note Implicit Rule

     Search Algorithm: Implicit Rule Search.

4.9 特殊的内建目的名
=================================

特定的名字有特殊的含义,如果他们出现在目的的位置上的话。

`.PHONY'
特殊目的 .PHONY 被认为是伪目的。当考虑这样的目的时,make 将要无条件地运行其片段,无论是否有一个同名文件存在或者此同名文件的最后修改时间如何。*Note Phony Targets: Phony Targets.

`.SUFFIXES'
特殊目的 .SUFFIXES 的前提条件是用来检查后缀规则的后缀列表。*Note Old-Fashioned Suffix Rules: Suffix Rules.

`.DEFAULT'
 为.DEFAULT 指定的片段被用于没有规则的任何目的(显式或者隐式规则)。*Note Last Resort:: 如果一个 .DEFAULT 片段被指定,任何被指定为前提条件但不是目的的,将执行此片段。*Note Implicit Rule Search Algorithm: Implicit Rule Search.

后文继续

你可能感兴趣的:(Make)