GNU make manual 翻译(四十)

继续翻译

   Extra spaces are allowed and ignored at the beginning of the line,
but the first character must not be a tab (or the value of                        
`.RECIPEPREFIX')--if the line begins with a tab, it will be considered 
a recipe line.  Whitespace is required between `include' and the file 
names, and between file names; extra whitespace is ignored there and at 
the end of the directive.  A comment starting with `#' is allowed at 
the end of the line.  If the file names contain any variable or  
function references, they are expanded.  *Note How to Use Variables: 
Using Variables.                        
                        
   For example, if you have three `.mk' files, `a.mk', `b.mk', and 
`c.mk', and `$(bar)' expands to `bish bash', then the following 
expression                        
                        
     include foo *.mk $(bar)                        
                        
   is equivalent to                        
                        
     include foo a.mk b.mk c.mk bish bash                        

在行的前面,多个空格是允许的,但是将被忽略。不过第一个字符不能使 tab符号(更准确地说,.RECIPIEPREFIX 的值)--如果一个行开始于 tab 符号,那就会被认为是一个片段行。

在 include 和 文件名之间需要空格,文件名和文件名之间也需要空格;多余的空格将被忽略。

在行末,以#开始的行是被允许的。如果文件名包含任何变量或者函数参照,将被展开。

*Note How to Use Variables: Using Variables.

后文待续

posted @ 2012-09-14 10:12  健哥的数据花园  阅读(210)  评论(0编辑  收藏  举报