]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/dep-info-spaces/Makefile
debuginfo: Make debuginfo source location assignment more stable (Pt. 1)
[rust.git] / src / test / run-make / dep-info-spaces / Makefile
1 -include ../tools.mk
2
3 # FIXME: ignore freebsd/windows
4 # (windows: see `../dep-info/Makefile`)
5 ifneq ($(shell uname),FreeBSD)
6 ifndef IS_WINDOWS
7 all:
8         $(RUSTC) --dep-info $(TMPDIR)/custom-deps-file.d --crate-type=lib lib.rs
9         sleep 1
10         touch 'foo foo.rs'
11         -rm -f $(TMPDIR)/done
12         $(MAKE) -drf Makefile.foo
13         rm $(TMPDIR)/done
14         pwd
15         $(MAKE) -drf Makefile.foo
16         rm $(TMPDIR)/done && exit 1 || exit 0
17 else
18 all:
19
20 endif
21
22 else
23 all:
24
25 endif