9 lines
208 B
Makefile
9 lines
208 B
Makefile
include ../tools.mk
|
|
|
|
all:
|
|
$(RUSTC) foo1.rs
|
|
$(RUSTC) foo2.rs
|
|
mkdir $(TMPDIR)/foo
|
|
cp $(TMPDIR)/libfoo1.rlib $(TMPDIR)/foo/libfoo1.rlib
|
|
$(RUSTC) bar.rs --extern foo1=$(TMPDIR)/libfoo1.rlib -L $(TMPDIR)/foo
|