]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/compiler-rt-works-on-mingw/Makefile
Rollup merge of #107731 - RalfJung:interpret-discriminant, r=cjgillot
[rust.git] / tests / run-make-fulldeps / compiler-rt-works-on-mingw / Makefile
1 include ../tools.mk
2
3 # only-windows-gnu
4
5 all:
6         $(CXX) foo.cpp -c -o $(TMPDIR)/foo.o
7         $(AR) crus $(TMPDIR)/libfoo.a $(TMPDIR)/foo.o
8         $(RUSTC) foo.rs -lfoo -lstdc++
9         $(call RUN,foo)