]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/compiler-rt-works-on-mingw/Makefile
New upstream version 1.23.0+dfsg1
[rustc.git] / src / test / run-make / compiler-rt-works-on-mingw / Makefile
1 -include ../tools.mk
2
3 ifneq (,$(findstring MINGW,$(UNAME)))
4 ifndef IS_MSVC
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)
10 else
11 all:
12
13 endif
14 else
15 all:
16
17 endif