aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7242f1d6..c0ebc075 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: doc
+.PHONY: doc all release shell
all:
clear; cargo build
@@ -7,4 +7,7 @@ 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
+ nix-build --arg release true
+
+shell:
+ nix-shell