如下,是說有兩個相同的命令;
makefile
-----------------------------
all:
echo shanxi
all:
echo china
make
-----------------------------
makefile:6: 警告:覆蓋關於目標“all”的命令
makefile:3: 警告:忽略關於目標“all”的舊命令
echo china
china
這不光會出現在一個makefile文件裏面,如下
vendor/marvell/jasmine/recovery/Mdroid.mk:176: 覆蓋關於目標out/target/product/jasmine/obj/PACKAGING/target_files_intermediates/jasmine-target_files-eng..zip的命令build/core/Makefile:1033: 覆蓋關於目標out/target/product/jasmine/obj/PACKAGING/target_files_intermediates/jasmine-target_files-eng..zip的舊命令