From 1ac772400a6a3aea8d006ac46337440600017e4b Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 13 Dec 2022 21:26:42 +0200 Subject: Add Rust --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') 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 $@ + -- cgit v1.2.3