makefile 里的 := , = , +=

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

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

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

posted @ 2017-09-01 16:43  johnsonshu  阅读(251)  评论(0编辑  收藏  举报