summaryrefslogtreecommitdiffstats
path: root/tests/run-make/manual-link/Makefile
blob: 8dbf0460fff50d1361125b05cddf2d6993952824 (plain)
1
2
3
4
5
6
7
# ignore-cross-compile
include ../tools.mk

all: $(TMPDIR)/libbar.a
	$(RUSTC) foo.rs -lstatic=bar
	$(RUSTC) main.rs
	$(call RUN,main)