summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/foreign-double-unwind/Makefile
blob: 27cf4d19ce0677e765a3a20cf8182fb3eea2d30e (plain)
1
2
3
4
5
6
7
8
9
10
-include ../tools.mk

all: foo
	$(call RUN,foo) | $(CGREP) -v unreachable

foo: foo.rs $(call NATIVE_STATICLIB,foo)
	$(RUSTC) $< -lfoo $(EXTRARSCXXFLAGS)

$(TMPDIR)/libfoo.o: foo.cpp
	$(call COMPILE_OBJ_CXX,$@,$<)