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,等等。然后内化所有变量和他们的值,准备好隐式和显式的规则,构造所有目的和它们的前提条件的依赖性关系。

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

    后文待续

  • 相关阅读:
    [学习笔记]康托展开
    [模板]平衡树
    [题解]涂色
    [学习笔记]Lucas定理
    欧拉定理及其证明
    一些杂题(排列组合
    swift 动画合集
    UIDynamicAnimator UIKit动力学
    swift 当协议遇见了泛型
    Swift 协议
  • 原文地址:https://www.cnblogs.com/gaojian/p/2688291.html
Copyright © 2011-2022 走看看