GNU make manual 翻译(三十一)

简介:
继续翻译

复制代码
3 Writing Makefiles                        
*******************                        
                        
The information that tells `make' how to recompile a system comes from                        
reading a data base called the "makefile".                        
                        
3.1 What Makefiles Contain                        
==========================                        
                        
Makefiles contain five kinds of things: "explicit rules", "implicit 
rules", "variable definitions", "directives", and "comments".  Rules,variables, and directives are described at length in later chapters.                        
                        
   * 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.                        
复制代码
3 制作 makefile

告诉make 如何重新编译一个系统的数据信息被称为 makefile。

3.1 makefile 包含什么

makefile包含五种东西:显式规则,隐式规则,变量定义,指令,注释。

规则,变量和指令将在后面的章节中展开详细论述。

*Note Writing Rules: Rules

后文待续


本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/09/14/2684272.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