diff --git a/Makefile b/Makefile index f675c649..b778ea53 100644 --- a/Makefile +++ b/Makefile @@ -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