Makefile中:=, =, ?=, +=的区别
:=
=
?=
+=
A := A B := $(A)B A := AA
B的值为AB
AB
A = A B = $(A)B A = AA
B的值为AAB
AAB
A = A A ?= AA
A的值为A
A
A ?= AA
A的值为AA
AA
A = A A += AA
A的值为AAA
AAA