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

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

    后文待续

  • 相关阅读:
    Delphi 获取不重复随机数《LceMeaning》
    轻松一下
    MS SQL字段类型详解《转》
    Go语言优势与劣势
    go语言特点
    初始go语言
    django 短链接改成长连接
    extjs [1]
    Supervisor安装与配置
    InfluxDB命令使用
  • 原文地址:https://www.cnblogs.com/gaojian/p/2688291.html
Copyright © 2011-2022 走看看