433da1fc04
They pass fine.
11 lines
187 B
Makefile
11 lines
187 B
Makefile
include ../tools.mk
|
|
|
|
all: foo
|
|
$(call RUN,foo)
|
|
|
|
foo: foo.rs $(call NATIVE_STATICLIB,foo)
|
|
$(RUSTC) $< -lfoo $(EXTRARSCXXFLAGS)
|
|
|
|
$(TMPDIR)/libfoo.o: foo.cpp
|
|
$(call COMPILE_OBJ_CXX,$@,$<)
|