summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/extern-multiple-copies2/Makefile
blob: 84de2ebf34dfc74ce5ae6a12fa079af109f9b447 (plain)
1
2
3
4
5
6
7
8
9
10
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)/foo/libfoo1.rlib \
		--extern foo2=$(TMPDIR)/libfoo2.rlib