有什么办法可以“制造"商品吗?回显命令 [英] Is there any way for "make" to echo commands

查看:37
本文介绍了有什么办法可以“制造"商品吗?回显命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以使Makefile中的make回显命令被@手动抑制?我在帮助或手册页中找不到此内容,它只是说"--quiet"来做相反的事情.

Is there a way to have make echo commands that are manually suppressed with @ in the makefile? I can't find this in the help or man page, it just says "--quiet" to do the opposite.

推荐答案

最明显的想法是更改运行命令的shell,例如添加:

The most obvious idea is to change the shell that runs the commands, e.g. add:

SHELL = sh -xv

到您的makefile.

to your makefile.

这篇关于有什么办法可以“制造"商品吗?回显命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆