What is ?= in Makefile

前端 未结 2 1245
梦毁少年i
梦毁少年i 2021-02-02 05:10
KDIR ?= $(shell uname -r)

What is the meaning of ?=?

I have understood the difference between :=, += and

2条回答
  •  说谎
    说谎 (楼主)
    2021-02-02 05:35

    Thanks to Simon and R.T. for their quick and correct response.

    Also, I have found the GNU manual that explains everything in detail: http://www.gnu.org/software/make/manual/html_node/Setting.html

提交回复
热议问题