zoukankan      html  css  js  c++  java
  • 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。

    后文待续

  • 相关阅读:
    Lucene 基础理论
    .NET Micro Framework V4.2 QFE2新版本简介
    FlashPaper
    在django中实现QQ登录
    基于lucene的搜索服务器
    ASP.NET MVC的Razor引擎:RazorViewEngine
    .Net Micro Framework
    关于基于DDD+Event Sourcing设计的模型如何处理模型重构的问题的思考
    泛型
    Log4j源码分析及配置拓展
  • 原文地址:https://www.cnblogs.com/gaojian/p/2684354.html
Copyright © 2011-2022 走看看