mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-21 06:51:41 +00:00

* Fix Excessive and Missing Dependencies found by Vemake * Remove extra spaces at the end of Makefile * Remove used macro df * Change "-rf" to "-f" in tests/Makefile * Change "-rf" to "-f" in suite/fuzz/Makefile * Remove 'r' from the removal command. * Remove an extra blank line.
14 lines
262 B
Makefile
14 lines
262 B
Makefile
# Capstone Disassembly Engine
|
|
# Common functions used by Makefile & tests/Makefile
|
|
|
|
define compile
|
|
@$(CC) -MM -MP -MT $@ -MT $(@:.o=.d) $(CFLAGS) $< > $(@:.o=.d)
|
|
${CC} ${CFLAGS} -c $< -o $@
|
|
endef
|
|
|
|
|
|
define log
|
|
@printf " %-7s %s\n" "$(1)" "$(2)"
|
|
endef
|
|
|