nalgebra/Makefile

18 lines
357 B
Makefile
Raw Normal View History

2013-05-19 01:04:03 +08:00
nalgebra_lib_path=lib
nalgebra_doc_path=doc
2013-05-14 19:35:01 +08:00
all:
mkdir -p $(nalgebra_lib_path)
rust build src/nalgebra.rc --out-dir $(nalgebra_lib_path) --opt-level 3
2013-05-19 01:04:03 +08:00
test:
mkdir -p $(nalgebra_lib_path)
2013-05-19 01:04:03 +08:00
rust test src/nalgebra.rc
2013-05-19 19:44:27 +08:00
rm nalgebratest~
2013-05-14 19:35:01 +08:00
doc:
mkdir -p $(nalgebra_doc_path)
rust doc src/nalgebra.rc --output-dir $(nalgebra_doc_path)
2013-05-14 19:35:01 +08:00
.PHONY:doc
.PHONY:test