makefile - 如何抑制来自 Make 的“是最新的”消息?
问题描述
如何告诉 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.
它没有这么明确地说明,但这也抑制了其他类型的信息输出。
推荐阅读
- r - 从类似数据集中插入缺失的气候数据
- linux - 加载共享库时出错:libsigc-2.0.so 与 libsigc-2.0.so.0
- events - Leaflet.draw - 当圆形或多边形的版本结束时触发事件?
- c# - GetHashCode 的替代方案并在 .Select 中应用
- python - 如何使用常见的 pytest 夹具作为上下文管理器?
- javascript - 如何在电子邮件中发送的消息中创建按钮?
- angular - AngularFireList,属性 valueChanges() 显示错误属性 'query' is missing in type 'Observable<{}[]>
- c# - Azure 存储服务
- python - 如何在不重复代码的情况下创建具有大量属性的类?
- java - java将单个数字流式传输到一个范围