GNU make manual 翻译(八十三)

继续翻译

   Wildcard expansion is performed by `make' automatically in targets and in prerequisites.  In recipes, the shell is responsible for wildcard expansion.  In other contexts, wildcard expansion happens only if you request it explicitly with the `wildcard' function.                        
                        
   The special significance of a wildcard character can be turned off by preceding it with a backslash.  Thus, `foo\*bar' would refer to a specific file whose name consists of `foo', an asterisk, and `bar'.

目的和前提条件里的通配符扩展由 make 来自动完成。在片段里,shell 负责完成对通配符的解释。在其他上下文中,仅当你显式地使用了 wildcard 函数的时候才会发生扩展。

通配符可以通过前置反斜线关闭,因此 foo\*bar 会被解释成 文件名为 foo * bar 。

后文待续



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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值