在Makefile中添加打印语句

在makefile中添加打印信息的方法:

  • 打印字符串:
    $(warning "xxxxx")或者$(error "xxxxx")

  • 打印变量:
    $(warning $(XXX))

这个和$(wildcard)一样的。

Title:在Makefile中添加打印语句

Author:Victor Huang

Time:2019-03-17 / 16:03

Link:http://wowothink.com/6376cec7/

License: Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)