Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Makefile 导入另一个 Makefile,该 Makefile 由包含其中的目标生成。类似于以下内容:
more_makefile: touch $@ include more_makefile
这个过程可以正常工作,但是No such file or directory当 more_makefile 不存在时,每次点击包含行时都会收到警告,这可能会使新手感到困惑。有没有办法掩盖这个警告?
No such file or directory
添加连字符:
-include more_makefile