随笔分类 -  Makefile

makefile的使用方法和常用函数
makefile的include用法
摘要:include 使用方法 : include filename.mk 作用: 暂停当前的makefile执行,去执行指定的makefile,执行完毕后继续执行当前的makefile -include 解释和用法 -include filename.mk#这种用法的意义是当filename.mk文件不 阅读全文
posted @ 2021-04-13 14:38 ღ惟吾德馨ღ 阅读(433) 评论(0) 推荐(0)
makefile的函数集合
摘要:strip函数:$(strip text) 函数功能:去除字符串空格函数 示例: STR = a b c LOSTR = $(strip $(STR)) #结果是“a b c”。 eval函数: $(eval text)函数功能: 它的意思是 text 的内容将作为makefile的一部分而被mak 阅读全文
posted @ 2021-04-08 10:29 ღ惟吾德馨ღ 阅读(119) 评论(0) 推荐(0)