]> git.proxmox.com Git - qemu.git/blobdiff - Makefile
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
[qemu.git] / Makefile
index bd885caa4a71015a1371cd683ccb7ba256a044a8..0d9099a47306d174479dc738d3fe1f584cb245ae 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -213,9 +213,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