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: all:
clear; cargo build clear; cargo build
doc:
cd doc/book; mdbook build
release: release:
RUSTFLAGS="-C link-arg=-fuse-ld=lld -C target-cpu=x86-64 -C target-feature=+sse2" cargo build --release --no-default-features RUSTFLAGS="-C link-arg=-fuse-ld=lld -C target-cpu=x86-64 -C target-feature=+sse2" cargo build --release --no-default-features