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

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

10 lines
212 B
Makefile
Raw Normal View History

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)