Makefile 标签下共有 1 篇文章
?=
?= 指示仅在未设置或没有值时设置 KDIR 变量。
# make test 将会输出 foo KDIR ?= "foo" KDIR ?= "bar" test: echo $(KDIR)