makefile 里的 := , = , +=

:= 是在这行代码的时候,直接展开右边的变量。

= 是在最终左边变量被使用的时候,才把右边的变量展开。

https://stackoverflow.com/questions/10227598/what-is-the-difference-between-and-in-make-file

原文地址:https://www.cnblogs.com/johnsonshu/p/7463936.html