summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/prefer-dylib/Makefile
blob: 3817ca195eb2de4f81e3ee944129b0f5844f05d2 (plain)
1
2
3
4
5
6
7
8
include ../tools.mk

all:
	$(RUSTC) bar.rs --crate-type=dylib --crate-type=rlib -C prefer-dynamic
	$(RUSTC) foo.rs -C prefer-dynamic
	$(call RUN,foo)
	rm $(TMPDIR)/*bar*
	$(call FAIL,foo)