rust/src/test/run-make-fulldeps/symlinked-rlib/Makefile

15 lines
248 B
Makefile
Raw Normal View History

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