diff --git a/Makefile b/Makefile
index ca4ccd6fc4d582c7fe4d624db5145c971f6dc4ec..e69c4949857a8d77b2aa1de0e448ec5e227e06e6 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,9 @@ $(BINDIR):
 
 uninstall:
 	-rm $(TARGET)
+	-rm $(INCLUDE)
 	@rmdir -p $(BINDIR) 2> /dev/null || true
+	@rmdir -p $(shell dirname $(INCLUDE)) 2> /dev/null || true
 	@echo Uninstall complete!
 
 -include $(DEPENDS)