summaryrefslogtreecommitdiffstats
path: root/tests/run-make/mixing-deps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/mixing-deps/Makefile')
-rw-r--r--tests/run-make/mixing-deps/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-make/mixing-deps/Makefile b/tests/run-make/mixing-deps/Makefile
new file mode 100644
index 000000000..c2a5a2a0a
--- /dev/null
+++ b/tests/run-make/mixing-deps/Makefile
@@ -0,0 +1,8 @@
+# ignore-cross-compile
+include ../tools.mk
+
+all:
+ $(RUSTC) both.rs -C prefer-dynamic
+ $(RUSTC) dylib.rs -C prefer-dynamic
+ $(RUSTC) prog.rs
+ $(call RUN,prog)