如果makefile包含“include”,是否可以获得“完整的”makefile?例如:如果Makefile包含“include”,我如何获得“完整的”makefile?
#here is the contents of Makefile
include inc1.i
include inc2.i
clean:
rm -rf *
#here is the contents of inc1.i
abc:
touch abc
#here is the contents of inc2.i
def:
touch def
如何在没有include的情况下获得“完整的”Makefile?因为当Makefile包含其他公司时,inc文件也包含另一个子公司......它很难阅读!
我希望得到一个“全”生成文件,如:从make -p
abc:
touch abc
def:
touch def
clean:
rm -rf *