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

    继续翻译

    2.3 How `make' Processes a Makefile    
    ===================================    
        
    By default, `make' starts with the first target (not targets whose    
    names start with `.').  This is called the "default goal".  ("Goals"    
    are the targets that `make' strives ultimately to update.    You can    
    override this behavior using the command line (*note Arguments to    
    Specify the Goals: Goals.) or with the `.DEFAULT_GOAL' special variable    
    (*note Other Special Variables: Special Variables.).      
        
       In the simple example of the previous section, the default goal is to    
    update the executable program `edit'; therefore, we put that rule first.  

    make 如何处理一个 Makefile

    缺省情况下,make 启动时执行第一个目的。这被称为缺省终点。

    (终点(goal) 就是 make 努力要最终达成的改变。)

    你可以通过使用命令行来改变这种行为(*note Arguments to Specify the Goals: Goals.)

    或者 用 .DEFAULT_GOAL 特殊变量(*note Other Special Variables: Special Variables.)

    在前面的 简单的例子章节中,缺省的终点是 改变 可执行程序 edit。 因此我们把这个规则放在最前面。

    后文待续

  • 相关阅读:
    MT【305】丹德林双球
    MT【304】反射路径长度比
    MT【303】估计
    MT【302】利用值域宽度求范围
    MT【301】值域宽度
    MT【300】余弦的三倍角公式
    MT【299】对数型数列不等式
    MT【298】双参数非齐次
    xadmin 自定义actions
    xadmin 添加自定义权限
  • 原文地址:https://www.cnblogs.com/gaojian/p/2682066.html
Copyright © 2011-2022 走看看