在makefile中打印警告或者错误消息的方法:

$(warning xxxxx)

或者

$(error xxxxx) 

输出变量方式为:

$(warning  $(XXX)) 

相关文章: