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

    继续翻译

    3.7 How `make' Reads a Makefile                        
    ===============================                        
                            
    GNU `make' does its work in two distinct phases.  During the first 
    phase it reads all the makefiles, included makefiles, etc. and 
    internalizes all the variables and their values, implicit and explicit 
    rules, and constructs a dependency graph of all the targets and their 
    prerequisites.  During the second phase, `make' uses these internal 
    structures to determine what targets will need to be rebuilt and to 
    invoke the rules necessary to do so.                        

     3.7 make 如何读取一个 makfile

    GNU make 完成两个相独立的阶段性工作。

    在第一阶段,它读取所有 makefile,还有被包含的 makefile,等等。然后内化所有变量和他们的值,准备好隐式和显式的规则,构造所有目的和它们的前提条件的依赖性关系。

    在第二阶段,它使用这些内部结构来决定哪些目的需要被重新构建,来激发相应的规则被执行。

    后文待续

  • 相关阅读:
    flex 自定义事件
    ssis 不停执行的方法
    动态修改大小的Panel用户控件
    ssis 写文件到数据库
    sqlserver CheckSum
    poj1423
    poj1860
    poj1862
    poj1426
    poj1234
  • 原文地址:https://www.cnblogs.com/gaojian/p/2688291.html
Copyright © 2011-2022 走看看