• GNU make manual 翻译(三十七)


    继续翻译

    3.2 What Name to Give Your Makefile                        
    ===================================                        
                            
    By default, when `make' looks for the makefile, it tries the following 
    names, in order: `GNUmakefile', `makefile' and `Makefile'.                          
                            
       Normally you should call your makefile either `makefile' or 
    `Makefile'.  (We recommend `Makefile' because it appears prominently 
    near the beginning of a directory listing, right near other important 
    files such as `README'.)  The first name checked, `GNUmakefile', is not 
    recommended for most makefiles.  You should use this name if you have a
    makefile that is specific to GNU `make', and will not be understood by 
    other versions of `make'.  Other `make' programs look for `makefile' and
    `Makefile', but not `GNUmakefile'.                        

    3.2 给你的Makefile起个什么名字

    缺省地,当make 寻找makefile的时候,它会按如下顺序:

    GNUmakefile, makefile,Makefile

    通常,你应当称你的 makefile为 'makefile或'Makefile(我们建议使用 Makefile,因为它会在目录中显示在靠近起始的位置,比较显眼。也靠近其他重要文件如README)。

    第一个名字'GNUmakefile' 不受推荐。你应当在此makefile有GNU特性且不被其他版本make理解的情况下来使用此名字。

    其他的make会查找 makefile和 Makefile, 而不是 GNUmakefile。

    后文待续

  • 相关阅读:
    Eclipse生成部署描述符(web.xml)
    异步Servlet和异步过虑器
    安装 R 及 R 包
    Servlet封装类
    设计模式——装饰者模式
    Eclipse快速生成覆盖方法、Getter、Setter的方法
    查看CPU核数和内存
    Filter 过滤器
    Listener 监听器
    Tag file
  • 原文地址:https://www.cnblogs.com/gaojian/p/2684354.html
Copyright © 2020-2023  润新知