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

    继续翻译

       If `make' finds none of these names, it does not use any makefile.
    Then you must specify a goal with a command argument, and `make' will
    attempt to figure out how to remake it using only its built-in implicit
    rules.  *Note Using Implicit Rules: Implicit Rules.                
    
       If you want to use a nonstandard name for your makefile, you can
    specify the makefile name with the `-f' or `--file' option.  The
    arguments `-f NAME' or `--file=NAME' tell `make' to read the file NAME
    as the makefile.  If you use more than one `-f' or `--file' option, you    
    can specify several makefiles.  All the makefiles are effectively
    concatenated in the order specified.  The default makefile names
    `GNUmakefile', `makefile' and `Makefile' are not checked automatically
    if you specify `-f' or `--file'.                          
                            

    如果make 没有找到这些名字,它将不使用任何makefile。这样你就必须通过命令行参数来指定一个终点,这样make 将尝试去理解如何去利用隐式规则来重新建立一个makefile。

    *Note Using Implicit Rules: Implicit Rules.

    如果你想要为你的 makefile 使用一个非标准的名称,你可以通过 -f 或者 --file 选项来指定 makefile的名字。 -f NAME 或者  --file=NAME 告诉 make 去读取此 NAME 文件来作为 makefile。如果你使用了多于一个的 -f 或 --file 选项,你可以指定多个 makefile。所有的 makefile将被按照指定的顺序串连起来。

    当你指定了 -f 或者 --file选项的时候,GNUmakefile , makefile , Makefile将不会被自动检查。

    后文待续

  • 相关阅读:
    阿里云短信服务工具类
    vue.config.js
    elementui Tree 树形控件增删改查
    vue 实时显示年月日时分秒星期上下午
    1553:【例 2】暗的连锁
    CF825G Tree Queries
    最短母串
    寻找好串
    无限链计数
    异或运算
  • 原文地址:https://www.cnblogs.com/gaojian/p/2684395.html
Copyright © 2011-2022 走看看