summaryrefslogtreecommitdiffstats
path: root/tests/run-make/crate-name-priority/Makefile
blob: 4adaa75a71cf678a264bf39bf691bca07f0fd058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# ignore-cross-compile
include ../tools.mk

all:
	$(RUSTC) foo.rs
	rm $(TMPDIR)/$(call BIN,foo)
	$(RUSTC) foo.rs --crate-name bar
	rm $(TMPDIR)/$(call BIN,bar)
	$(RUSTC) foo1.rs
	rm $(TMPDIR)/$(call BIN,foo)
	$(RUSTC) foo1.rs -o $(TMPDIR)/$(call BIN,bar1)
	rm $(TMPDIR)/$(call BIN,bar1)