继续翻译
复制代码
* `#' 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的任何一行,但是有时候在特殊的情况下,他们也会被特殊处理。
后文待续
本文转自健哥的数据花园博客园博客,原文链接http://www.cnblogs.com/gaojian/archive/2012/09/14/2684300.html,如需转载请自行联系原作者