Merge commit '352a52804df5b9f475d19d3fa8f567c1bf98b8ac' as 'external/capstone'
This commit is contained in:
15
external/capstone/functions.mk
vendored
Normal file
15
external/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