]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/issue-26006/Makefile
Rollup merge of #107321 - lcnr:comment, r=compiler-errors
[rust.git] / tests / run-make-fulldeps / issue-26006 / Makefile
1 include ../tools.mk
2
3 # ignore-windows
4
5 OUT := $(TMPDIR)/out
6
7 all: time
8
9 time: libc
10         mkdir -p $(OUT)/time $(OUT)/time/deps
11         ln -sf $(OUT)/libc/liblibc.rlib $(OUT)/time/deps/
12         $(RUSTC) in/time/lib.rs -Ldependency=$(OUT)/time/deps/
13
14 libc:
15         mkdir -p $(OUT)/libc
16         $(RUSTC) in/libc/lib.rs --crate-name=libc -Cmetadata=foo -o $(OUT)/libc/liblibc.rlib