diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 $@ + |