rust/tests/run-make/symlinked-rlib/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
235 B
Makefile
Raw Normal View History

# ignore-cross-compile
include ../tools.mk
2016-04-08 19:14:05 -05:00
# ignore-windows
# `ln` is actually `cp` on msys.
2016-04-08 19:14:05 -05:00
all:
$(RUSTC) foo.rs --crate-type=rlib -o $(TMPDIR)/foo.xxx
ln -nsf $(TMPDIR)/foo.xxx $(TMPDIR)/libfoo.rlib
$(RUSTC) bar.rs -L $(TMPDIR)