2015-04-15 10:40:04 -04:00
|
|
|
-include ../tools.mk
|
|
|
|
|
|
|
|
# FIXME: ignore freebsd/windows
|
|
|
|
# on windows `rustc --dep-info` produces Makefile dependency with
|
|
|
|
# windows native paths (e.g. `c:\path\to\libfoo.a`)
|
|
|
|
# but msys make seems to fail to recognize such paths, so test fails.
|
|
|
|
ifneq ($(shell uname),FreeBSD)
|
|
|
|
ifndef IS_WINDOWS
|
|
|
|
all:
|
|
|
|
$(RUSTC) --emit dep-info main.rs
|
2017-12-19 16:43:32 -06:00
|
|
|
$(CGREP) "input.txt" "input.bin" "input.md" < $(TMPDIR)/main.d
|
2015-04-15 10:40:04 -04:00
|
|
|
else
|
|
|
|
all:
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
else
|
|
|
|
all:
|
|
|
|
|
|
|
|
endif
|