GNU make manual 翻译(三十二)

简介:
继续翻译

复制代码
   * An "explicit rule" says when and how to remake one or more files, 
     called the rule's "targets".  It lists the other files that the
     targets depend on, called the "prerequisites" of the target, and 
     may also give a recipe to use to create or update the targets. 
     *Note Writing Rules: Rules.                        
                        
   * An "implicit rule" says when and how to remake a class of files
     based on their names.  It describes how a target may depend on a 
     file with a name similar to the target and gives a recipe to 
     create or update such a target.  *Note Using Implicit Rules: 
     Implicit Rules.                        
复制代码
一个 "显式规则" 表明何时以及如何重新制作一个或多个文件(此规则的目的)。

它列举出目的所以来的其他文件(目的的前提条件),并且也许会给出一个用来创建和修改目的的片段。

*Note Writing Rules: Rules

 一个"隐式规则" 表明何时以及如何根据文件的名字重新制作此文件。它描述了一个目的如何依赖于

一个和目的文件相类似的文件名,并给出一个片段来创建或更改这个目的文件。

*Note Using Implicit Rules: Implicit Rules

后文待续


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

目录
相关文章
|
Linux C语言
make: gcc:命令未找到
make: gcc:命令未找到
make: gcc:命令未找到
|
C语言 C++ Perl
如何处理错误消息Please install the gcc make perl packages
如何处理错误消息Please install the gcc make perl packages
144 0