summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b1e44f5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+CARGO ?= cargo
+
+.PHONY: all build run clean fmt check
+
+all: build
+
+build:
+ $(CARGO) build
+
+run:
+ $(CARGO) run -- $(ARGS)
+
+clean:
+ $(CARGO) clean
+
+fmt:
+ $(CARGO) fmt
+
+check:
+ $(CARGO) check
+
+