summaryrefslogtreecommitdiffstats
path: root/tests/run-make/dep-info-spaces/Makefile.foo
blob: 80a5d4333cdc22f4d4766c3a0a0291c232b6d55a (plain)
1
2
3
4
5
6
7
LIB := $(shell $(RUSTC) --print file-names --crate-type=lib $(TMPDIR)/lib.rs)

$(TMPDIR)/$(LIB):
	$(RUSTC) --emit link,dep-info --crate-type=lib $(TMPDIR)/lib.rs
	touch $(TMPDIR)/done

-include $(TMPDIR)/lib.d