rust/tests/run-make/compiler-rt-works-on-mingw/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
180 B
Makefile
Raw Normal View History

include ../tools.mk
2015-10-23 11:31:12 -05:00
# only-windows-gnu
2015-10-23 11:31:12 -05:00
all:
$(CXX) foo.cpp -c -o $(TMPDIR)/foo.o
$(AR) crus $(TMPDIR)/libfoo.a $(TMPDIR)/foo.o
2015-10-23 11:31:12 -05:00
$(RUSTC) foo.rs -lfoo -lstdc++
$(call RUN,foo)