]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/extern-multiple-copies/Makefile
Rollup merge of #106244 - atouchet:readme3, r=workingjubilee
[rust.git] / tests / run-make-fulldeps / extern-multiple-copies / Makefile
1 include ../tools.mk
2
3 all:
4         $(RUSTC) foo1.rs
5         $(RUSTC) foo2.rs
6         mkdir $(TMPDIR)/foo
7         cp $(TMPDIR)/libfoo1.rlib $(TMPDIR)/foo/libfoo1.rlib
8         $(RUSTC) bar.rs --extern foo1=$(TMPDIR)/libfoo1.rlib -L $(TMPDIR)/foo