Replace `rust build` by `rustc`.

This commit is contained in:
Sébastien Crozet 2013-10-12 10:39:42 +02:00
parent 20bdbb6408
commit 86d6ff759c
1 changed files with 3 additions and 3 deletions

View File

@ -3,12 +3,12 @@ nalgebra_lib_path=lib
nalgebra_doc_path=doc
all:
mkdir -p $(nalgebra_lib_path)
rust build src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3
rustc src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3
test:
mkdir -p $(nalgebra_lib_path)
rust test src/lib.rs
rm libtest~
rustc --test src/lib.rs --opt-level 3 -o test~ && ./test~
rm test~
bench:
rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench