10 lines
170 B
Makefile
10 lines
170 B
Makefile
|
-include ../tools.mk
|
||
|
|
||
|
all:
|
||
|
$(RUSTC) foo.rs
|
||
|
$(RUSTC) bar.rs
|
||
|
$(CC) main.c -o $(call RUN_BINFILE,main) -lbar
|
||
|
rm $(TMPDIR)/*.rlib
|
||
|
rm $(call DYLIB,foo)
|
||
|
$(call RUN,main)
|