summaryrefslogtreecommitdiffstats
path: root/tests/run-make/c-static-rlib/Makefile
blob: 4e351127cb67c7693248e54374489fb796013428 (plain)
1
2
3
4
5
6
7
8
9
# ignore-cross-compile
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)