summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/compiler-rt-works-on-mingw/Makefile
blob: 0cf5d1855212d6ea064661ba22a0ba21168b188d (plain)
1
2
3
4
5
6
7
8
9
-include ../tools.mk

# only-windows-gnu

all:
	$(CXX) foo.cpp -c -o $(TMPDIR)/foo.o
	$(AR) crus $(TMPDIR)/libfoo.a $(TMPDIR)/foo.o
	$(RUSTC) foo.rs -lfoo -lstdc++
	$(call RUN,foo)