【发布时间】:2012-09-30 10:25:37
【问题描述】:
如何创建一个makefile,它将启动所有子目录中的所有make 文件。是否可以在主目录上运行“make”主makefile,这将自动触发子目录的make?
示例:
/makefile (this is the main makefile)
/subdirectory1/makefile
/subdirectory1/various .c/.h files compiled by the makefile in this directory
/subdirectory2/makefile
/subdirectory2/various .c/.h files compiled by the makefile in this directory
/subdirectory3/makefile
/subdirectory3/various .c/.h files compiled by the makefile in this directory
【问题讨论】:
标签: makefile