]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/c-link-to-rust-staticlib/Makefile
Imported Upstream version 1.8.0+dfsg1
[rustc.git] / src / test / run-make / c-link-to-rust-staticlib / Makefile
1 -include ../tools.mk
2
3 # FIXME: ignore freebsd
4 ifneq ($(shell uname),FreeBSD)
5 all:
6 $(RUSTC) foo.rs
7 $(CC) bar.c $(call STATICLIB,foo) $(call OUT_EXE,bar) \
8 $(EXTRACFLAGS) $(EXTRACXXFLAGS)
9 $(call RUN,bar)
10 rm $(call STATICLIB,foo)
11 $(call RUN,bar)
12
13 else
14 all:
15
16 endif