Chris Morgan
›
Git
›
anymap
› blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
commit
grep
author
committer
pickaxe
?
search:
re
Ignore Cargo.lock (this is a library).
[anymap]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 4050c1612214ef18d74079562d420f33cad1ded8..882cd3004d25ed63f168564fa6c15529ed9a2f3d 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-12,7
+12,7
@@
rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) \
$(filter $(subst *,%,$2),$d))
SRC := $(call rwildcard,src/,*.rs)
$(filter $(subst *,%,$2),$d))
SRC := $(call rwildcard,src/,*.rs)
-LIB := target/$(shell rustc --
crate-file-name src/lib.rs --crate-type rlib
)
+LIB := target/$(shell rustc --
print-file-name src/lib.rs
)
ifeq ($(LIB),target/)
# We may not have rustc or the lib.rs file may be broken.
# But don't break the rules on that account.
ifeq ($(LIB),target/)
# We may not have rustc or the lib.rs file may be broken.
# But don't break the rules on that account.