![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Makefile
Lidong_Zhou
这个作者很懒,什么都没留下…
展开
-
Makefile 学习
四、foreach函数 foreach函数和别的函数非常的不一样。因为这个函数是用来做循环用的,Makefile中的foreach函数几乎是仿照于Unix标准Shell(/bin/sh)中的for语句,或是C-Shell(/bin/csh)中的foreach语句而构建的。它的语法是: $(foreach ,,) 这个函数的意思是,把参数中的单词逐一取出放转载 2013-08-21 13:53:02 · 571 阅读 · 0 评论 -
Makefile 25个函数列表与举例
字符串处理函数1、subst$(subst ee,EE,feet on the street),把“feet on the street”中的“ee”替换成“EE”,返回结果是“fEEt on the strEEt”。 2、patsubst$(patsubst %.c,%.o,x.c.c bar.c)把字串“x.c.c bar.c”符合模式[%.c]的单词替换成[%.o原创 2013-08-22 14:43:08 · 835 阅读 · 0 评论