summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/extern-multiple-copies/Makefile
blob: 1631aa806af090ec454544f599a3f0c6b7e9c854 (plain)
1
2
3
4
5
6
7
8
-include ../tools.mk

all:
	$(RUSTC) foo1.rs
	$(RUSTC) foo2.rs
	mkdir $(TMPDIR)/foo
	cp $(TMPDIR)/libfoo1.rlib $(TMPDIR)/foo/libfoo1.rlib
	$(RUSTC) bar.rs --extern foo1=$(TMPDIR)/libfoo1.rlib -L $(TMPDIR)/foo