diff options
Diffstat (limited to 'tests/run-make-fulldeps/c-link-to-rust-staticlib/Makefile')
-rw-r--r-- | tests/run-make-fulldeps/c-link-to-rust-staticlib/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/c-link-to-rust-staticlib/Makefile b/tests/run-make-fulldeps/c-link-to-rust-staticlib/Makefile new file mode 100644 index 000000000..d38bcef30 --- /dev/null +++ b/tests/run-make-fulldeps/c-link-to-rust-staticlib/Makefile @@ -0,0 +1,12 @@ +include ../tools.mk + +# ignore-freebsd +# FIXME + +all: + $(RUSTC) foo.rs + $(CC) bar.c $(call STATICLIB,foo) $(call OUT_EXE,bar) \ + $(EXTRACFLAGS) $(EXTRACXXFLAGS) + $(call RUN,bar) + rm $(call STATICLIB,foo) + $(call RUN,bar) |