rust/tests/run-make/dep-info/Makefile.foo
2023-03-30 07:34:55 -05:00

8 lines
190 B
Makefile

LIB := $(shell $(RUSTC) --print file-names --crate-type=lib lib.rs)
$(TMPDIR)/$(LIB):
$(RUSTC) --emit dep-info,link --crate-type=lib lib.rs
touch $(TMPDIR)/done
-include $(TMPDIR)/foo.d