GNU make manual 翻译(三十五)

继续翻译

   * `#' in a line of a makefile starts a "comment".  It and the rest 
     of the line are ignored, except that a trailing backslash not 
     escaped by another backslash will continue the comment across 
     multiple lines.  A line containing just a comment (with perhaps 
     spaces before it) is effectively blank, and is ignored.  If you 
     want a literal `#', escape it with a backslash (e.g., `\#'). 
     Comments may appear on any line in the makefile, although they are 
     treated specially in certain situations.                        

注释行以#开头。#符号和之后的本行字符将被忽略。

如果尾部有一个\,而不是\\的话,就可与形成多行注释。

一行中仅仅包含注释在效果上实际就是一个空白,将被make 忽略。

如果你想输入'#',应当使用反斜线(\#)。

注释可以出现在makefile的任何一行,但是有时候在特殊的情况下,他们也会被特殊处理。

后文待续

你可能感兴趣的:(Make)