From patchwork Fri Jan 25 05:25:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Makefile: remove *.lo files when make clean Date: Thu, 24 Jan 2013 19:25:48 -0000 From: liguang X-Patchwork-Id: 215554 Message-Id: <1359091548-29316-1-git-send-email-lig.fnst@cn.fujitsu.com> To: qemu-devel@nongnu.org, stefanha@redhat.com Cc: liguang remove *.lo files, they will bring errors during build after a make clean, e.g. make clean make lt LINK libcacard.la gcc: stubs/.libs/arch-query-cpu-def.o: No such file or directory gcc: stubs/.libs/clock-warp.o: No such file or directory gcc: stubs/.libs/cpu-get-clock.o: No such file or directory Signed-off-by: liguang Reviewed-by: Stefan Hajnoczi --- Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 73adf42..5d64b58 100644 --- a/Makefile +++ b/Makefile @@ -215,7 +215,8 @@ clean: rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h rm -f qemu-options.def find . -name '*.[od]' -type f -exec rm -f {} + - rm -f *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~ + find . -name '*.lo' -type f -exec rm -f {} + + rm -f *.a $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~ rm -f *.la rm -Rf .libs rm -f qemu-img-cmds.h