rust/tests/run-make/compiler-rt-works-on-mingw/Makefile
2023-03-30 07:34:55 -05:00

10 lines
180 B
Makefile

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)