如何禁止显示来自 Make 的'is up to date'消息?



如何告诉Make停止记录

make: `foo.o' is up to date

foo.o什么时候是最新的?

您可以使用-s/--silent选项到make来抑制输出;来自文档:

‘-s’
‘--silent’
‘--quiet’
Silent operation; do not print the recipes as they are executed. See Recipe Echoing.

它没有这么明确地说,但这也抑制了其他类型的信息输出。

相关内容

最新更新