Merge commit '352a52804df5b9f475d19d3fa8f567c1bf98b8ac' as 'external/capstone'

This commit is contained in:
SimoneN64
2024-09-23 19:06:48 +02:00
3915 changed files with 2927938 additions and 0 deletions

15
external/capstone/functions.mk vendored Normal file
View File

@@ -0,0 +1,15 @@
# Capstone Disassembly Engine
# Common functions used by Makefile & tests/Makefile
define compile
$(ifeq ($(MACOS_UNIVERSAL),no),
@$(CC) -MM -MP -MT $@ -MT $(@:.o=.d) $(CFLAGS) $< > $(@:.o=.d)
)
${CC} ${CFLAGS} -c $< -o $@
endef
define log
@printf " %-7s %s\n" "$(1)" "$(2)"
endef