对 makefile 中 call 函数学习的小例子

上例子

reverse=$(2)  $(1)

foo=$(call reverse, a, b)

all:
    @echo $(foo)

运行结果: make

b a 

结束

原文地址:https://www.cnblogs.com/gaojian/p/2711460.html