makefile
1 . makefile 多层路径
all:
$(waring "1111")
make -C A
make -C B
子目录 A makefile
all:
$(warning "make A")
B的
all:
$(warning "make B")
make 结果:
make -C A
make[1]: Entering directory `/home/~/ap/code/study/mf/A'
makefile:2: "make A"
make[1]: `all' is up to date.
make[1]: Leaving directory `/home/~/ap/code/study/mf/A'
make -C B
make[1]: Entering directory `/home/~/ap/code/study/mf/B'
makefile:2: "make B"
make[1]: `all' is up to date.
make[1]: Leaving directory `/home/~/ap/code/study/mf/B'
方括号里的东西可以看到进入子目录的
openwrt的编辑
http://www.cnblogs.com/sammei/p/3968916.html
浙公网安备 33010602011771号