]> git.proxmox.com Git - rustc.git/blame - src/test/run-make/c-link-to-rust-staticlib/Makefile
Imported Upstream version 1.3.0+dfsg1
[rustc.git] / src / test / run-make / c-link-to-rust-staticlib / Makefile
CommitLineData
1a4d82fc
JJ
1-include ../tools.mk
2
85aaf69f 3EXTRAFLAGS := $(EXTRACFLAGS)
1a4d82fc
JJ
4
5# FIXME: ignore freebsd
6ifneq ($(shell uname),FreeBSD)
7all:
8 $(RUSTC) foo.rs
9346a6ac 9 $(CC) bar.c -lfoo -o $(call RUN_BINFILE,bar) $(EXTRAFLAGS) $(EXTRACXXFLAGS)
1a4d82fc
JJ
10 $(call RUN,bar)
11 rm $(call STATICLIB,foo*)
12 $(call RUN,bar)
13
14else
15all:
16
17endif