summaryrefslogtreecommitdiffstats
path: root/tests/run-make/prefer-rlib/Makefile
blob: 2e86b9c1dd7e0c69de413706e729f9a5b2e6093f (plain)
1
2
3
4
5
6
7
8
9
# ignore-cross-compile
include ../tools.mk

all:
	$(RUSTC) bar.rs --crate-type=dylib --crate-type=rlib
	ls $(TMPDIR)/$(call RLIB_GLOB,bar)
	$(RUSTC) foo.rs
	rm $(TMPDIR)/*bar*
	$(call RUN,foo)