makefile firstword
时间: 2023-08-10 17:02:35 浏览: 209
回答: 在Makefile中,firstword函数用于获取一个字符串中的第一个单词。它的语法是$(firstword <string>)。该函数返回给定字符串中的第一个单词。例如,如果我们有一个变量var = "hello world",那么$(firstword $(var))将返回"hello"。
#### 引用[.reference_title]
- *1* *3* [Makefile学习整理](https://blog.csdn.net/lizhao_yang_/article/details/121905724)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Makefile入门知识总结九---常用的函数](https://blog.csdn.net/qq_33475105/article/details/102771912)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文