aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d308975..60ce701 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,14 @@
+.PHONY: local
+local:
+ cargo build --release
+
+.PHONY: run
+run:
+ifndef ARGS
+ @echo Run "make run" with ARGS set to pass arguments…
+endif
+ cargo run --release -- $(ARGS)
+
.PHONY: build-linux
build-linux:
cargo build --target x86_64-unknown-linux-musl --release