GNU make manual 翻譯 三十四

2021-09-06 06:04:14 字數 961 閱讀 4871

繼續翻譯

* a "

directive

"is an instruction for `make'

to do something special

while

reading the makefile. these include:

* reading another makefile (*note including other makefiles:

include.).

*deciding (based on the values of variables) whether to use or

ignore a part of the makefile (*note conditional parts of

makefiles: conditionals.).

* defining a variable from a verbatim string

containing

multiple lines (*note defining multi-line variables:

multi-line.).

指令就是一系列需要 make 在讀取 makefile的時候要做的事情。包括:

讀取另乙個 makefile (*note including other makefiles: include)

決定(根據變數的值)是忽略還是使用 makfile的某乙個部分

(*note conditional parts of makfiles: confitionals.)

* 從乙個多行字串來定義乙個變數(*note defining multi-line variables: multi-line.)

後文待續

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 翻譯 三十五

繼續翻譯 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 backslas...

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...