1 2 3 4 5 6 7
LIB := $(shell $(RUSTC) --crate-file-name --lib lib.rs) $(TMPDIR)/$(LIB): $(RUSTC) --dep-info --lib lib.rs touch $(TMPDIR)/done -include $(TMPDIR)/lib.d