本文介绍了子目录中的递归制作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Makefile中订购 make
命令在所有子目录 make
中递归执行(在Makefile in the子目录)?
How can I order make
command in the Makefile to execute recursively in all subdirectories make
commands (defined in the Makefile in the subdirectories)?
推荐答案
- 阅读 GNU Make手册章。
- 了解Peter Miller的 文章。
- ...
- 利润!!!
- Read Recursive Use of Make chapter of GNU Make manual.
- Learn Peter Miller's Recursive Make Considered Harmful article.
- ...
- PROFIT!!!
PS 的代码片段与其他相关的问题可以用作粗略的近似值。
P.S. A code snippet from my answer to a different yet related question could be used as a rough approximation.
这篇关于子目录中的递归制作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!