Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
75f57670b03a33dd165685fe1f252969ef5c16ea
/
.
/
tests
/
run-make
/
c-link-to-rust-staticlib
/
Makefile
blob: e14775f5c181c0a8e2bc0c328275d1b1cb934c3e [
file
] [
log
] [
blame
]
# ignore-cross-compile
include
../
tools
.
mk
# ignore-freebsd
# FIXME
all
:
$
(
RUSTC
)
foo
.
rs
$
(
CC
)
bar
.
c $
(
call STATICLIB
,
foo
)
$
(
call OUT_EXE
,
bar
)
\
$
(
EXTRACFLAGS
)
$
(
EXTRACXXFLAGS
)
$
(
call RUN
,
bar
)
rm $
(
call STATICLIB
,
foo
)
$
(
call RUN
,
bar
)