]> git.proxmox.com Git - rustc.git/blame - src/test/run-make/issue-26006/Makefile
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-make / issue-26006 / Makefile
CommitLineData
62682a34
SL
1-include ../tools.mk
2
54a0048b
SL
3OUT := $(TMPDIR)/out
4
62682a34
SL
5ifndef IS_WINDOWS
6all: time
7
8time: libc
54a0048b
SL
9 mkdir -p $(OUT)/time $(OUT)/time/deps
10 ln -sf $(OUT)/libc/liblibc.rlib $(OUT)/time/deps/
11 $(RUSTC) in/time/lib.rs -Ldependency=$(OUT)/time/deps/
62682a34
SL
12
13libc:
54a0048b
SL
14 mkdir -p $(OUT)/libc
15 $(RUSTC) in/libc/lib.rs --crate-name=libc -Cmetadata=foo -o $(OUT)/libc/liblibc.rlib
62682a34
SL
16else
17all:
18endif