fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1# ignore-cross-compile 2include ../tools.mk 3 4# ignore-windows 5# `ln` is actually `cp` on msys. 6 7all: 8 $(RUSTC) foo.rs 9 mkdir -p $(TMPDIR)/other 10 ln -nsf $(TMPDIR)/libfoo.rlib $(TMPDIR)/other 11 $(RUSTC) bar.rs -L $(TMPDIR) 12 $(RUSTC) baz.rs --extern foo=$(TMPDIR)/other/libfoo.rlib -L $(TMPDIR)