GNU make manual 翻译(十四)

继续翻译

   A recipe may follow each line that contains a target and    
prerequisites.  These recipes say how to update the target file.  A tab    
character (or whatever character is specified by the `.RECIPEPREFIX'    
variable; *note Special Variables::) must come at the beginning of    
every line in the recipe to distinguish recipes from other lines in the    
makefile.  (Bear in mind that `make' does not know anything about how    
the recipes work.  It is up to you to supply recipes that will update    
the target file properly.  All `make' does is execute the recipe you    
have specified when the target file needs to be updated.)      

一个片段可以跟在一个目标和前提条件 系列之后

这些歌片段指出 如何改变目标 的文件。

一个 tab 符(或者如果.RECIPEPREFIX变量指定的其他符号)必须出现在片段所在行的起始处,

以区分片段行和其他的行。

必须意识到,make 本身并不清楚片段如何工作。这是由你来决定,使得片段可以正确地生成目的文件。

make 所作的所有的事情,就是 当目的文件需要被改变时,执行你所指定的片段。

后文继续

你可能感兴趣的:(Make)