-1
A
回答
4
根據GNU Make Manual,只有在當前未定義其他值的情況下,纔會設置SOMEVAR
。
2
如果它尚未定義,它將值分配給SOMEVAR
。
2
見make
的MAN-網頁:
變量賦值的變量 在化妝很像在shell變量,並通過tradi- 重刑,包括所有的大寫字母。
變量賦值改性劑 可以用於將值分配給變量的五個運算符如下 如下:
= Assign the value to the variable. Any previous value is overrid- den. += Append the value to the current value of the variable. ?= Assign the value to the variable if it is not already defined. := Assign with expansion, i.e. expand the value before assigning it to the variable. Normally, expansion is not done until the vari- able is referenced. NOTE: References to undefined variables are not expanded. This can cause problems when variable modifiers are used. != Expand the value and pass it to the shell for execution and assign the result to the variable. Any newlines in the result are replaced with spaces.
相關問題
- 1. obj _ $(variable_name)在makefile中做什麼?
- 2. 雙「at」(@@)符號在Makefile中做什麼?
- 3. 的Makefile做:爲`默認」做沒什麼
- 4. 在Perl中做什麼=〜做什麼?
- 5. 沒有什麼可以做的makefile
- 6. 沒有什麼可以做的「Makefile」
- 7. Makefile的錯誤:什麼工作要做
- 8. 什麼!=在玉/帕格中做什麼?
- 9. 什麼是opt.apply_gradients()在TensorFlow中做什麼?
- 10. 什麼是string.indexOf(「*。」)在Javascript中做什麼?
- 11. 是什麼。在Haskell中做什麼?
- 12. 什麼是outData.writeInt()在Java中做什麼?
- 13. 什麼是:%S在vim中做什麼?
- 14. 什麼(數組)在PHP中做什麼?
- 15. 什麼_,在Python中做什麼
- 16. 什麼 - 在ksh中做什麼?
- 17. 什麼是String.iter()在Rust中做什麼?
- 18. 什麼是makefile中的CPP_LINK?
- 19. 什麼「?」做?什麼是__FILE__?
- 20. 什麼是setDetailItem:做什麼?
- 21. WPF能做什麼和不做什麼?
- 22. 百分比符號在makefile中做了什麼?
- 23. 「make oldconfig」在Linux內核makefile中做了什麼?
- 24. 什麼是「grep -v'^ $'file.txt」在做什麼?
- 25. 什麼是fn.bind.apply(fn,arguments)在做什麼?
- 26. 什麼是QString :: toUtf8在做什麼?
- 27. 什麼是「RailsFCGIHandler」在做什麼?
- 28. 在什麼地方做什麼事?
- 29. 這是什麼:main:for(...){...}在做什麼?
- 30. 什麼是「sed s _。*/_」在做什麼?
http://www.gnu.org/software/make/manual/make的.html#香精 – devnull