rust/tests/run-make/manual-link/Makefile

8 lines
134 B
Makefile
Raw Normal View History

# ignore-cross-compile
include ../tools.mk
all: $(TMPDIR)/libbar.a
$(RUSTC) foo.rs -lstatic=bar
$(RUSTC) main.rs
$(call RUN,main)