Received: from eggs.gnu.org ([208.118.235.92]:48645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv2ET-0001v9-Qn for qemu-devel@nongnu.org; Tue, 15 Jan 2013 03:51:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tv2ES-0007Sn-RZ for qemu-devel@nongnu.org; Tue, 15 Jan 2013 03:50:57 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:54127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv2ES-0007Sh-Ln for qemu-devel@nongnu.org; Tue, 15 Jan 2013 03:50:56 -0500 Received: by mail-wi0-f175.google.com with SMTP id hm11so2047546wib.2 for ; Tue, 15 Jan 2013 00:50:55 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 15 Jan 2013 09:49:37 +0100 Message-Id: <1358239777-29911-3-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] build: remove *.lo, *.a, *.la files from all subdirectories on make clean List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , Stefan Hajnoczi .lo files in stubs/, util/ and libcacard/ were not cleaned. Fix this. Cc: Blue Swirl Reported-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cfa2fa6..6cee692 100644 --- a/Makefile +++ b/Makefile @@ -214,9 +214,9 @@ clean: # avoid old build problems by removing potentially incorrect old files 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 *~ */*~ - rm -f *.la + find . -name '*.[oda]' -type f -exec rm -f {} + + find . -name '*.l[oa]' -type f -exec rm -f {} + + rm -f $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~ rm -Rf .libs rm -f qemu-img-cmds.h @# May not be present in GENERATED_HEADERS -- 1.8.1