This commit is contained in:
2026-03-23 12:11:07 +01:00
commit e64eb40b38
4573 changed files with 3117439 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