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

all:
	$(RUSTC) rlib.rs
	$(RUSTC) dylib.rs
	$(RUSTC) rlib.rs --crate-type=dylib
	$(RUSTC) dylib.rs
	$(call REMOVE_DYLIBS,rlib)
	$(RUSTC) prog.rs && exit 1 || exit 0