1 2 3 4 5 6
include ../tools.mk all: $(AR) crus $(TMPDIR)/libfoo.a foo.rs $(AR) d $(TMPDIR)/libfoo.a foo.rs $(RUSTC) foo.rs