make only output error/warning message( 编译时,只输出错误信息和警告信息)

make > /dev/null

这样,正常的信息被重定向输出到/dev/null,错误和警告信息会输出到标准错误设备(standard error,相对于标准输入/输出设备来说)。

posted on 2015-06-29 14:19  Evan Yin  阅读(533)  评论(0编辑  收藏  举报

导航