aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1098d712..7242f1d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
+.PHONY: doc
+
all:
clear; cargo build
+doc:
+ cd doc/book; mdbook build
+
release:
RUSTFLAGS="-C link-arg=-fuse-ld=lld -C target-cpu=x86-64 -C target-feature=+sse2" cargo build --release --no-default-features