Add a doc target to the Makefile

This commit is contained in:
Quentin 2021-09-28 10:13:14 +02:00
parent de0228ca2a
commit 78f0c9ed38

View File

@ -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