]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/foreign-exceptions/Makefile
Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic
[rust.git] / tests / run-make-fulldeps / foreign-exceptions / Makefile
1 include ../tools.mk
2
3 all: foo
4         $(call RUN,foo)
5
6 foo: foo.rs $(call NATIVE_STATICLIB,foo)
7         $(RUSTC) $< -lfoo $(EXTRARSCXXFLAGS)
8
9 $(TMPDIR)/libfoo.o: foo.cpp
10         $(call COMPILE_OBJ_CXX,$@,$<)