summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/output-with-hyphens/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make-fulldeps/output-with-hyphens/Makefile')
-rw-r--r--src/test/run-make-fulldeps/output-with-hyphens/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/output-with-hyphens/Makefile b/src/test/run-make-fulldeps/output-with-hyphens/Makefile
new file mode 100644
index 000000000..69a286f0b
--- /dev/null
+++ b/src/test/run-make-fulldeps/output-with-hyphens/Makefile
@@ -0,0 +1,7 @@
+-include ../tools.mk
+
+all:
+ $(RUSTC) foo-bar.rs --crate-type bin
+ [ -f $(TMPDIR)/$(call BIN,foo-bar) ]
+ $(RUSTC) foo-bar.rs --crate-type lib
+ [ -f $(TMPDIR)/libfoo_bar.rlib ]