8 lines
210 B
Makefile
8 lines
210 B
Makefile
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
|