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

    继续翻译

       The way this works is that the pattern rule has a pattern of just 
    `%', so it matches any target whatever.  The rule specifies a 
    prerequisite `force', to guarantee that the recipe will be run even if 
    the target file already exists.  We give the `force' target an empty 
    recipe to prevent `make' from searching for an implicit rule to build
    it--otherwise it would apply the same match-anything rule to `force' 
    itself and create a prerequisite loop!                        

    它工作的方式是因为 模式规则有一个 %模式,一次可以匹配任何目的。

    这个规则指定了一个前提条件 force,表明了既使目的文件已经存在,它的片段也会运行。

    我们给了 forcce 目的一个空的片段,用来防止 make 寻找一个隐式规则来生成自己-- 否则它就会应用这个匹配任何状况的规则来强迫自己产生 前提条件循环!

    后文待续

  • 相关阅读:
    再说LZ77压缩算法
    关于LZ77压缩算法
    Qt 简易设置透明按钮
    MFC edit 控件 自动将光标置于想要输入内容的位置
    事件和委托
    2016/06/07
    2016/04/28
    2016/4/27
    2016/04/26
    重载和重写(Overload, Override)
  • 原文地址:https://www.cnblogs.com/gaojian/p/2688202.html
Copyright © 2011-2022 走看看