]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/issue-26006/Makefile
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-make / issue-26006 / Makefile
1 -include ../tools.mk
2
3 OUT := $(TMPDIR)/out
4
5 ifndef IS_WINDOWS
6 all: time
7
8 time: libc
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/
12
13 libc:
14 mkdir -p $(OUT)/libc
15 $(RUSTC) in/libc/lib.rs --crate-name=libc -Cmetadata=foo -o $(OUT)/libc/liblibc.rlib
16 else
17 all:
18 endif