summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSon Ho2022-02-07 13:50:01 +0100
committerSon Ho2022-02-07 13:50:01 +0100
commit9eb372050faf08de16f143deada715b0b8ffeaff (patch)
tree9cecff7350d29c39c9dbbfdc7c28dec7e834c7aa /examples
parent150ff3b8e5b7e4a3106cf050a8463364b5add667 (diff)
Add a Makefile in examples/misc
Diffstat (limited to 'examples')
-rw-r--r--examples/misc/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/misc/Makefile b/examples/misc/Makefile
new file mode 100644
index 00000000..a8e3fbc6
--- /dev/null
+++ b/examples/misc/Makefile
@@ -0,0 +1,15 @@
+CHARON_HOME=../../../charon/charon
+
+all: build test translate
+
+.PHONY: build
+build:
+ cargo build
+
+.PHONY: test
+test:
+ cargo test
+
+.PHONY: translate
+translate:
+ cd $(CHARON_HOME) && cargo run ../../aeneas/examples/misc/src/hashmap.rs