继续翻译
复制代码
4.2 Rule Syntax
===============
In general, a rule looks like this:
TARGETS : PREREQUISITES
RECIPE
...
or like this:
TARGETS : PREREQUISITES ; RECIPE
RECIPE
...
The TARGETS are file names, separated by spaces. Wildcard characters may be used (*note Using Wildcard Characters in File Names: Wildcards.) and a name of the form `A(M)' represents member M in archive file A (*note Archive Members as Targets: Archive Members.).
Usually there is only one target per rule, but occasionally there is a reason to have more (*note Multiple Targets in a Rule: Multiple Targets.).
复制代码
4.2 规则 语法
===============
通常,一个规则长得这样:
TARGETS : PREREQUISITES
RECIPE
...
或者这样:
TARGETS : PREREQUISITES ; RECIPE
RECIPE
...
目标是文件名,用空格分隔。可以使用通配符 (*note Using Wildcard Characters in File Names:
Wildcards.) ;而且 形如 A(M) 的名字,表示归档文件A的 成员M (*note Archive Members as Targets: Archive Members.)。
通常每个规则仅有一个目的,但是某些场合,也有多个目的的 (*note Multiple Targets in a Rule: Multiple
Targets.)。
后文待续
本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/09/18/2690516.html,如需转载请自行联系原作者