summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/prefer-rlib/Makefile
blob: adc345d760da557cdc9f26f195da0a99962a656a (plain)
1
2
3
4
5
6
7
8
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)