首页 > 其他 > 详细

【Makefile】Makefile中的函数

时间:2019-11-05 16:50:13      阅读:71      评论:0      收藏:0      [点我收藏+]

1、 subst函数

格式:$(subst <from>, <to>, <text>)
功能:把字串<text>中的<from>字符串替换成<to>
返回:函数返回被替换过后的字符串。

示例:
  $(subst a,the,There is a big tree)
  把“There is a big tree”中的“a”替换成“the”,返回结果是“There is the big tree”。

 

2、

 

【Makefile】Makefile中的函数

原文:https://www.cnblogs.com/utank/p/11799202.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!