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

make > /dev/null

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

原文地址:https://www.cnblogs.com/hfyinsdu/p/4607387.html