nalgebra/Makefile

28 lines
328 B
Makefile
Raw Normal View History

2013-08-11 19:24:38 +08:00
tmp=_git_distcheck
2013-05-14 19:35:01 +08:00
all:
cargo build --release
2013-05-19 01:04:03 +08:00
test:
cargo test
2013-05-14 19:35:01 +08:00
bench:
2013-12-13 01:07:44 +08:00
rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench
rm bench~
2013-05-14 19:35:01 +08:00
doc:
cargo doc
2013-05-14 19:35:01 +08:00
2014-07-27 15:13:43 +08:00
clean:
cargo clean
2013-08-11 19:24:38 +08:00
distcheck:
rm -rf $(tmp)
git clone --recursive . $(tmp)
make -C $(tmp)
make -C $(tmp) test
2013-08-11 19:24:38 +08:00
rm -rf $(tmp)
.PHONY:doc
.PHONY:test