diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2022-12-13 21:26:42 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2022-12-13 21:31:37 +0200 |
commit | 1ac772400a6a3aea8d006ac46337440600017e4b (patch) | |
tree | 59d76f648ce65c344cf701dc0a47ce850ffba762 /Makefile | |
parent | 7ee0a6f2cad69d1a013befc758022e9ae22ceb1e (diff) | |
download | mendeleev-1ac772400a6a3aea8d006ac46337440600017e4b.tar.gz |
Add Rust
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 $@ + |