rust/src/test/run-make-fulldeps/c-link-to-rust-staticlib/Makefile

17 lines
268 B
Makefile
Raw Normal View History

-include ../tools.mk
2014-04-27 02:52:36 -05:00
# FIXME: ignore freebsd
ifneq ($(shell uname),FreeBSD)
all:
$(RUSTC) foo.rs
$(CC) bar.c $(call STATICLIB,foo) $(call OUT_EXE,bar) \
2015-08-26 18:57:56 -05:00
$(EXTRACFLAGS) $(EXTRACXXFLAGS)
$(call RUN,bar)
rm $(call STATICLIB,foo)
$(call RUN,bar)
else
all:
endif