GNU make manual 翻譯 四十五

2021-09-06 06:04:14 字數 791 閱讀 1180

繼續翻譯

if you want `make'

to simply ignore a makefile which does not exist

or cannot be remade, with no error message, use the `-include'

directive instead of `include'

, like this:

-include filenames...

this acts like `include

'in every way except that there is no error

(not even a warning) if

any of the filenames (or any prerequisites of

any of the filenames)

donot exist or cannot be remade.

如果你想讓 make 簡單地忽略乙個 makefile不存在或不能被生成的情況,而且不報告出錯資訊,可以用

-include 指令 來代替 include,像下面這樣:

-include filenames...

它和include 的功能一樣,除了 filenames 或 filenames 的前提條件不存在/無法生成時,不報告錯誤。

後文待續

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

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