GNU make manual 翻译(五十八)
继续翻译
Variable Assignment ------------------- Variable definitions are parsed as follows: IMMEDIATE = DEFERRED IMMEDIATE ?= DEFERRED IMMEDIATE := IMMEDIATE IMMEDIATE += DEFERRED or IMMEDIATE define IMMEDIATE DEFERRED endef define IMMEDIATE = DEFERRED endef define IMMEDIATE ?= DEFERRED endef define IMMEDIATE := IMMEDIATE endef define IMMEDIATE += DEFERRED or IMMEDIATE endef For the append operator, `+=', the right-hand side is considered immediate if the variable was previously set as a simple variable (`:='), and deferred otherwise.
变量定义被如下解析:
IMMEDIATE = DEFERRED
IMMEDIATE ?= DEFERRED
IMMEDIATE := IMMEDIATE
IMMEDIATE += DEFERRED or IMMEDIATE
define IMMEDIATE
DEFERRED
endef
define IMMEDIATE =
DEFERRED
endef
define IMMEDIATE ?=
DEFERRED
endef
define IMMEDIATE :=
IMMEDIATE
endef
define IMMEDIATE +=
DEFERRED or IMMEDIATE
endef
For the append operator, `+=', the right-hand side is considered
immediate if the variable was previously set as a simple variable
(`:='), and deferred otherwise.
对于连接符号 +=, 如果变量已经被定义为一个简单变量(:=),那么右手边就被认为是立即性的,
否则就是推迟性的。
后文待续
GNU make manual 翻译(五十八)相关推荐
- GNU make manual 翻译(三十八)
继续翻译 复制代码 If `make' finds none of these names, it does not use any makefile. Then you must specify a ...
- GNU make manual 翻译(五十一)
继续翻译 复制代码 When you use the `-t' or `--touch' option (*note Instead of Executing Recipes: Instead of ...
- GNU make manual 翻译(二十六)
继续翻译 复制代码 2.6 Another Style of Makefile ============================= ...
- GNU make manual 翻译(五十七)
继续翻译 复制代码 It's important to understand this two-phase approach because it has a direct impact on how ...
- GNU make manual 翻译(四十)
继续翻译 Extra spaces are allowed and ignored at the beginning of the line, but the first character must ...
- GNU make manual 翻译(三十)
继续翻译 复制代码 A rule such as this should not be placed at the beginning of the makefile, because we do ...
- GNU make manual 翻译(四十二)
继续翻译 When `make' processes an `include' directive, it suspends reading of the containing makefile an ...
- GNU make manual 翻译(六十九)
Rules undergo secondary expansion in makefile order, except that the rule with the recipe is always ...
- OpenCV学习笔记(五十六)——InputArray和OutputArray的那些事core OpenCV学习笔记(五十七)——在同一窗口显示多幅图片 OpenCV学习笔记(五十八)——读《Mast
OpenCV学习笔记(五十六)--InputArray和OutputArray的那些事core 看过OpenCV源代码的朋友,肯定都知道很多函数的接口都是InputArray或者OutputArray ...
最新文章
- 为什么 HTTP3.0 使用 UDP 协议?
- mysql.sock 111,错误2002(HY000):无法通过套接字’/var/run/mysqld/mysqld.sock’连接到本地MySQL服务器(111)...
- 【转】SQL Server 索引结构及其使用(二)
- django-pycharm下省略python manage.py的办法
- docker 测试mysql_95--Docker案例(redis测试/mysql测试/tomcat测试)
- runtime无法执行grep_Caffe和py-faster-rcnn日常使用备忘录
- linux落字效果代码,Linux 用echo输出带特效的字体
- shell字符串的截取的问题
- 如何在visio中插入矩阵公式
- 惠普暗影2 pro ubuntu16.04安装nvidia显卡驱动
- MSET算法参差分析(一)
- 面试题:你让工人为你工作7天,给工人的回报是一根金条...
- Droid razr xt910 tegra2 地牢猎人2 dungeon hunter2
- php主机安装教程,easypanel 主机面板安装教程
- 迪士尼挖角波士顿动力,耗时3年打造漫威英雄机器人,1:1复刻效果堪比CG
- 互联网运营面试题_必看❗️面试互联网运营常见问题及答案
- pwlink用作USB转TTL,进入HC-05的AT模式
- 求子集PHP,JavaScript求非空子集数目的实现方法
- input 起止时间_几种常用的控件(下拉框 可选框 起止日期 在HTML页面直接读取当前时间)...
- 【栈】 括 号 匹 配 (LeetCode)