summary refs log tree commit diff
path: root/src/test/run-make/issue-26006/Makefile
blob: 10c789d20c0bae4a7ed932e67be3ae7b519c922c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-include ../tools.mk

ifndef IS_WINDOWS
all: time

time: libc
	mkdir -p out/time out/time/deps
	ln -sf out/libc/liblibc.rlib out/time/deps/
	$(RUSTC) in/time/lib.rs -Ldependency=out/time/deps/

libc:
	mkdir -p out/libc
	$(RUSTC) in/libc/lib.rs --crate-name=libc -o out/libc/liblibc.rlib
else
all:
endif