summaryrefslogtreecommitdiff
path: root/chain
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-06-18 16:26:46 +0800
committerJSDurand <mmemmew@gmail.com>2023-06-18 16:26:46 +0800
commit3a4c22e931470fb1280ad0777e3a524b68314846 (patch)
tree94efa069ac37d9c1e5f9913a3bf73bc51219648b /chain
parenta80db17473ff09cc72acba2c1975101e6dbedf39 (diff)
adjust autotools settings
Add more directories under control of autotools.
Diffstat (limited to 'chain')
-rw-r--r--chain/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/chain/Makefile.am b/chain/Makefile.am
new file mode 100644
index 0000000..623572a
--- /dev/null
+++ b/chain/Makefile.am
@@ -0,0 +1,19 @@
+.PHONY: dev rel clean check
+
+all: dev
+
+dev:
+ @echo "cargo build"
+ @@CARGO@ build
+
+rel:
+ @echo "cargo build --release"
+ @@CARGO@ build --release
+
+clean:
+ @echo "cargo clean"
+ @@CARGO@ clean
+
+check:
+ @echo "cargo clippy"
+ @@CARGO@ clippy