From 557e0044267adb6fce0cbea03a56f924e82280c7 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 24 Aug 2015 09:57:01 +0800 Subject: [PATCH] add 'make uninstall'. this should fix issue #23 --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index eb36d2b8..dbd39dd5 100644 --- a/Makefile +++ b/Makefile @@ -287,6 +287,13 @@ header: FORCE $(shell python qemu/header_gen.py $(var) > qemu/$(var).h;)) @echo "Generated headers for $(TARGETS)." + +uninstall: + rm -rf $(INCDIR)/$(LIBNAME) + rm -f $(LIBDIR)/lib$(LIBNAME).* + rm -f $(PKGCFGDIR)/$(LIBNAME).pc + + clean: $(MAKE) -C qemu clean rm -rf *.d *.o