Edit setup.py to build python binding with make.sh
diff --git a/Makefile b/Makefile
index 9eead1e..b8baf68 100644
--- a/Makefile
+++ b/Makefile
@@ -308,13 +308,15 @@
 .PHONY: all clean install uninstall dist
 
 all: $(LIBRARY) $(ARCHIVE) $(PKGCFGF)
-ifndef BUILDDIR
-	cd tests && $(MAKE)
-else
-	cd tests && $(MAKE) BUILDDIR=$(BLDIR)
-endif
-ifeq ($(CAPSTONE_SHARED),yes)
-	$(INSTALL_DATA) $(LIBRARY) $(BLDIR)/tests/
+ifndef BUILD_CORE_ONLY
+	ifndef BUILDDIR
+		cd tests && $(MAKE)
+	else
+		cd tests && $(MAKE) BUILDDIR=$(BLDIR)
+	endif
+	ifeq ($(CAPSTONE_SHARED),yes)
+		$(INSTALL_DATA) $(LIBRARY) $(BLDIR)/tests/
+	endif
 endif
 
 ifeq ($(CAPSTONE_SHARED),yes)
@@ -384,16 +386,21 @@
 	rm -f $(LIBOBJ)
 	rm -f $(BLDIR)/lib$(LIBNAME).* $(BLDIR)/$(LIBNAME).*
 	rm -f $(PKGCFGF)
+
+ifndef BUILD_CORE_ONLY
 	cd tests && $(MAKE) clean
 	rm -f $(BLDIR)/tests/lib$(LIBNAME).$(EXT)
+endif
 
 ifdef BUILDDIR
 	rm -rf $(BUILDDIR)
 endif
 
+ifndef BUILD_CORE_ONLY
 	cd bindings/python && $(MAKE) clean
 	cd bindings/java && $(MAKE) clean
 	cd bindings/ocaml && $(MAKE) clean
+endif
 
 
 TAG ?= HEAD