Makefile: rename BUILD_CORE_ONLY to CAPSTONE_BUILD_CORE_ONLY for consistency
diff --git a/Makefile b/Makefile
index 24d535f..15c06ba 100644
--- a/Makefile
+++ b/Makefile
@@ -308,7 +308,7 @@
.PHONY: all clean install uninstall dist
all: $(LIBRARY) $(ARCHIVE) $(PKGCFGF)
-ifeq (,$(findstring yes,$(BUILD_CORE_ONLY)))
+ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
ifndef BUILDDIR
cd tests && $(MAKE)
else
@@ -387,7 +387,7 @@
rm -f $(BLDIR)/lib$(LIBNAME).* $(BLDIR)/$(LIBNAME).*
rm -f $(PKGCFGF)
-ifeq (,$(findstring yes,$(BUILD_CORE_ONLY)))
+ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
cd tests && $(MAKE) clean
rm -f $(BLDIR)/tests/lib$(LIBNAME).$(EXT)
endif
@@ -396,7 +396,7 @@
rm -rf $(BUILDDIR)
endif
-ifeq (,$(findstring yes,$(BUILD_CORE_ONLY)))
+ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
cd bindings/python && $(MAKE) clean
cd bindings/java && $(MAKE) clean
cd bindings/ocaml && $(MAKE) clean