aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 49a7570..d5399b9 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ BINARIES := \
mendeleev-f \
mendeleev-hs \
mendeleev-py \
+ mendeleev-rs \
LISP := \
clisp:mendeleev.lisp \
@@ -122,3 +123,9 @@ prof-mendeleev-py.txt: prof-mendeleev-py.dat
python3 -c 'import pstats; pstats.Stats("$<").sort_stats("tottime").print_stats()' > $@
+# Rust
+RUSTC = rustc
+RUSTC_FLAGS = -C opt-level=2 -C strip=symbols
+mendeleev-rs: mendeleev.rs
+ $(RUSTC) $(RUSTC_FLAGS) $< -o $@
+