我该如何创建一个makefile,它将启动所有子目录中的所有make文件。是否可以在主makefile的主目录上运行“make”,这将自动触发子目录的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