Sign in
fuchsia
/
third_party
/
capstone
/
refs/heads/upstream/autosync
/
.
/
functions.mk
blob: d734ce5d51767c1519827e94549b034bf702095d [
file
] [
log
] [
blame
] [
edit
]
# 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