rust/tests/run-make-fulldeps/c-link-to-rust-staticlib/Makefile
2023-01-11 09:32:08 +00:00

13 lines
220 B
Makefile

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)