GNU make manual 翻譯 三十五

2021-09-06 06:04:14 字數 802 閱讀 3891

繼續翻譯

* `#'

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., `\#

').

inthe makefile, although they are

treated specially

in certain situations.

注釋行以#開頭。#符號和之後的本行字元將被忽略。

如果尾部有乙個\,而不是\\的話,就可與形成多行注釋。

一行中僅僅包含注釋在效果上實際就是乙個空白,將被make 忽略。

如果你想輸入'#',應當使用反斜線(\#)。

注釋可以出現在makefile的任何一行,但是有時候在特殊的情況下,他們也會被特殊處理。

後文待續

GNU make manual 翻譯 十八

繼續翻譯 prerequisites of the goal.if some other rule isnot depended on by the goal or anything it depends on,etc.that rule isnot processed,unless you tel...

GNU make manual 翻譯 三十四

繼續翻譯 a directive is an instruction for make to do something special while reading the makefile.these include reading another makefile note including o...

GNU make manual 翻譯 三十九

繼續翻譯 3.3 including other makefiles the include directive tells make to suspend reading the current makefile and read one or more other makefiles befor...