makefile +=
时间: 2023-10-02 15:03:33 浏览: 148
在Makefile中,"+="符号用于将值追加到变量的末尾。它的作用是将右侧的值添加到左侧变量的当前值的末尾,而不是覆盖它。例如,如果有一个变量var的当前值是"abc",执行var += "def"后,var的值将变为"abcdef"。\[1\]
#### 引用[.reference_title]
- *1* [Makefile中:=, =, ?=和+=的含义](https://blog.csdn.net/sinat_34241861/article/details/110352961)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Makefile常用到的四种赋值方式(= := += ?=)说明](https://blog.csdn.net/more_thinking/article/details/119521669)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文