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

上例子

reverse=$(2)  $(1)

foo=$(call reverse, a, b)

all:
    @echo $(foo)

运行结果: make

b a 

结束

posted @ 2012-10-04 15:03  健哥的数据花园  阅读(6661)  评论(0编辑  收藏  举报