zoukankan      html  css  js  c++  java
  • GNU make manual 翻译(六十三)

    继续翻译

       After the first expansion phase the prerequisites list of the 'myfile' target will be `onefile' and `$(TWOVAR)'; the first (unescaped) variable reference to ONEVAR is expanded, while the second (escaped) variable reference is simply unescaped, without being recognized as a variable reference.  Now during the secondary expansion the first word is expanded again but since it contains no variable or function references it remains the static value `onefile', while the second word is now a normal reference to the variable TWOVAR, which is expanded to the value `twofile'.  The final result is that there are  two prerequisites, `onefile' and `twofile'. 

     当第一次的扩展阶段结束后,myfile 目的会是:onefile  $(TWOVAR)

    对第一个变量 ONEVAR 的反转义,进行了扩展,

    然而,对跌入个变量仅仅是进行了一次反转义,并没有人为它就是一个变量参照。

    现在,在二次扩展中,第一个词(onefile)依然会被扩展,但是它已不含有变量或者函数参照,所以它保持为静态的 onefile。 而跌入个但是现在是一个正常的,对变量 TWOVAR 的参照了,它会被扩展为 twofile。

    最后的结果是,出现两个前提条件: onefile 和 twofile。 

    后文待续

  • 相关阅读:
    KBEngine源码:EntityCall
    skynet 学习笔记-sproto模块(2)
    mongodb:为什么用mongodb
    编写高效服务器程序,需要考虑的因素
    b+树
    mysql:架构
    超越函数/微分方程 /积分中的技术/级数
    积分从入门到放弃<2>
    PyQt4 / PyQt5
    图形学算法:
  • 原文地址:https://www.cnblogs.com/gaojian/p/2688413.html
Copyright © 2011-2022 走看看