mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 21:49:46 +00:00
b78a640364
* 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
|
|
|