nalgebra/Makefile
Sébastien Crozet 7de844b46a Moved some files + use rustdoc_ng to generate the documenatiton.
Trait failes are merged in three files:
    * operations.rs - for low-level matrix/vector operations
    * geometry.rs   - for operations with a clear, broadly known geometric meaning.
    * structure.rs  - for operations to access/alter the object inner structures.

Specialisations are moved to the `spec` folder.
2013-09-22 11:05:15 +02:00

30 lines
528 B
Makefile

tmp=_git_distcheck
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
test:
mkdir -p $(nalgebra_lib_path)
rust test src/lib.rs
rm libtest~
bench:
rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench
rm bench~
doc:
mkdir -p $(nalgebra_doc_path)
rustdoc_ng html src/lib.rs
distcheck:
rm -rf $(tmp)
git clone --recursive . $(tmp)
make -C $(tmp)
make -C $(tmp) test
rm -rf $(tmp)
.PHONY:doc
.PHONY:test