summaryrefslogtreecommitdiffstats
path: root/tool/Makefile
diff options
context:
space:
mode:
authorJustus Winter <justus@pep-project.org>2017-12-21 16:31:44 +0100
committerJustus Winter <justus@pep-project.org>2017-12-21 18:02:35 +0100
commitb6fae6ab962f0061f18158d04c4ef6a7d06498cf (patch)
tree3702a1234e4e25e06f682681c7ea799ef49131eb /tool/Makefile
parentf2e693585e65d8c4873f5bbef8fd32c93e7a2d9e (diff)
tool: New crate.
- A command line tool to interact with Sequoia. Useful for debugging and development.
Diffstat (limited to 'tool/Makefile')
-rw-r--r--tool/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tool/Makefile b/tool/Makefile
new file mode 100644
index 00000000..517f705e
--- /dev/null
+++ b/tool/Makefile
@@ -0,0 +1,13 @@
+CARGO ?= cargo
+SQ ?= ../target/debug/sq
+
+all: sq src/usage.rs
+
+sq: ../target/debug/sq
+
+.PHONY: ../target/debug/sq
+../target/debug/sq:
+ $(CARGO) build
+
+src/usage.rs: make-usage.sh $(SQ)
+ sh make-usage.sh $(SQ) >$@