rust/tests/run-make/c-static-rlib/Makefile
2023-03-30 07:34:55 -05:00

9 lines
167 B
Makefile

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)