继续翻译
复制代码
If you want `make' to simply ignore a makefile which does not exist
or cannot be remade, with no error message, use the `-include'
directive instead of `include', like this:
-include FILENAMES...
This acts like `include' in every way except that there is no error
(not even a warning) if any of the FILENAMES (or any prerequisites of
any of the FILENAMES) do not exist or cannot be remade.
复制代码
如果你想让 make 简单地忽略一个 makefile不存在或不能被生成的情况,而且不报告出错信息,可以用
-include 指令 来代替 include,像下面这样:
-include FILENAMES...
它和include 的功能一样,除了 FILENAMES 或 FILENAMES 的前提条件不存在/无法生成时,不报告错误。
后文待续
本文转自健哥的数据花园博客园博客,原文链接http://www.cnblogs.com/gaojian/archive/2012/09/14/2684779.html,如需转载请自行联系原作者