-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