add 'make uninstall'. this should fix issue #23

This commit is contained in:
Nguyen Anh Quynh 2015-08-24 09:57:01 +08:00
parent 033a44361b
commit 557e004426

View File

@ -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