mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-23 13:33:56 +00:00
Initial Commit
This commit is contained in:
15
thirdparty/capstone/functions.mk
vendored
Normal file
15
thirdparty/capstone/functions.mk
vendored
Normal 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
|
||||
|
Reference in New Issue
Block a user