summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/extern-multiple-copies/Makefile
blob: 00668a6bc88c2eedcbed35b1711ce873529e87ba (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