mirror of
https://github.com/open-goal/jak-project
synced 2026-08-18 21:57:54 -04:00
bfc4c18ada
- Adds `capstone` as a disassembling library that could eventually replace Zydis (for now left that alone) - Replicates all of the existing x86 tests to ARM64, fixed a bunch of underlying issues along the way - There are a very small handful of tests remaining that need to be enabled / fixed
16 lines
292 B
Makefile
Vendored
Generated
16 lines
292 B
Makefile
Vendored
Generated
# 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
|
|
|