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.

后文继续






本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/09/20/2695390.html,如需转载请自行联系原作者

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值