summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/prefer-dylib/Makefile
blob: bd44feecf2a5d7659691346b63e974fd21cf23d7 (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)