博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
GNU make manual 翻译(三十六)
阅读量:6955 次
发布时间:2019-06-27

本文共 1010 字,大约阅读时间需要 3 分钟。

继续翻译
复制代码
     You cannot use comments within variable references or function  
     calls: any instance of `#' will be treated literally (rather than 
     as the start of a comment) inside a variable reference or function
     call.                        
                        
     Comments within a recipe are passed to the shell, just as with any 
     other recipe text.  The shell decides how to interpret it: whether 
     or not this is a comment is up to the shell.                        
                        
     Within a `define' directive, comments are not ignored during the
     definition of the variable, but rather kept intact in the value of 
     the variable.  When the variable is expanded they will either be  
     treated as `make' comments or as recipe text, depending on the  
     context in which the variable is evaluated.                        
复制代码
你不能在 变量或者函数调用中使用 注释,此时任何 #都会被当成有效符号而是注释起始处来处理。
片段中的注释将被和片段中的其他部分一起传递到shell,shell 将决定如何认识此注释:它是否被识别为注释取决于此shell。
在一个 define 指令中,当变量被定义,注释并不被忽略,被原封不动地保留。而当变量被展开的时候,它或者被识别为 make的注释,或者被认为是 片段文本的一部分;这取决于具体的变量定义的状况。
后文待续
本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/09/14/2684320.html,如需转载请自行联系原作者
你可能感兴趣的文章
JavaScript:属性的操作
查看>>
js Object.defineProperty 使用
查看>>
180321
查看>>
交换机的Access口与Trunk口
查看>>
cc.Mask. 纯代码拉伸遮罩
查看>>
Asp.Net Core 轻松学-一行代码搞定文件上传 JSONHelper
查看>>
MS CRM 2011 在CRM中使用REST Endpoint
查看>>
picture control 显示图片
查看>>
FluentScheduler定时器计划任务
查看>>
理解 auto_ptr<T>
查看>>
Android游戏开发:游戏框架的搭建(4)
查看>>
SIMPASS技术解析
查看>>
生成不重复单据编号
查看>>
FASTSCRIPT脚本实现多国语言
查看>>
步步为营 SharePoint 开发学习笔记系列 一、简介
查看>>
VS无法打开类视图
查看>>
伪共享和缓存行填充,从Java 6, Java 7 到Java 8
查看>>
Double-Array Trie分词词典简述
查看>>
BiLSTM-CRF模型中CRF层的解读
查看>>
袁永福的博客系列文章链接集合
查看>>