arm: update core
diff --git a/Makefile b/Makefile
index 9fcc6ab..d7b541c 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,13 @@
 LIBOBJ =
 LIBOBJ += cs.o utils.o SStream.o MCInstrDesc.o MCRegisterInfo.o
 
+ifneq (,$(findstring arm,$(CAPSTONE_ARCHS)))
+	CFLAGS += -DCAPSTONE_HAS_ARM
+	LIBOBJ += arch/ARM/ARMDisassembler.o
+	LIBOBJ += arch/ARM/ARMInstPrinter.o
+	LIBOBJ += arch/ARM/mapping.o
+	LIBOBJ += arch/ARM/module.o
+endif
 ifneq (,$(findstring mips,$(CAPSTONE_ARCHS)))
 	CFLAGS += -DCAPSTONE_HAS_MIPS
 	LIBOBJ += arch/Mips/MipsDisassembler.o
@@ -53,13 +60,6 @@
 	LIBOBJ += arch/PowerPC/mapping.o
 	LIBOBJ += arch/PowerPC/module.o
 endif
-ifneq (,$(findstring arm,$(CAPSTONE_ARCHS)))
-	CFLAGS += -DCAPSTONE_HAS_ARM
-	LIBOBJ += arch/ARM/ARMDisassembler.o
-	LIBOBJ += arch/ARM/ARMInstPrinter.o
-	LIBOBJ += arch/ARM/mapping.o
-	LIBOBJ += arch/ARM/module.o
-endif
 ifneq (,$(findstring x86,$(CAPSTONE_ARCHS)))
 	CFLAGS += -DCAPSTONE_HAS_X86
 	LIBOBJ += arch/X86/X86DisassemblerDecoder.o