rust/tests/run-make-fulldeps/mixing-libs/Makefile
2023-01-11 09:32:08 +00:00

10 lines
185 B
Makefile

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