1 2 3 4 5 6 7 8
include ../tools.mk all: $(call NATIVE_STATICLIB,cfoo) $(RUSTC) foo.rs $(RUSTC) bar.rs $(call REMOVE_RLIBS,foo) rm $(call NATIVE_STATICLIB,cfoo) $(call RUN,bar)