Makefile的call函数
生活随笔
收集整理的這篇文章主要介紹了
Makefile的call函数
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
define targetecho $0 echo $1echo $2
endefall:$(call target,hello, world)clean:$(call target,clean) .PHONY: all clean
執行make 或者make all
執行的結果是:
總結
以上是生活随笔為你收集整理的Makefile的call函数的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MTD相关
- 下一篇: 作者:季统凯(1972-),男,博士,中