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

后文待续

你可能感兴趣的:(Make)