The lib directory is automatically created.

This commit is contained in:
Sébastien Crozet 2013-06-09 12:14:03 +00:00
parent ffc24de9e0
commit 9062c37a64

View File

@ -1,13 +1,16 @@
nalgebra_lib_path=lib nalgebra_lib_path=lib
nalgebra_doc_path=doc nalgebra_doc_path=doc
all: all:
mkdir -p $(nalgebra_lib_path)
rust build src/nalgebra.rc --out-dir $(nalgebra_lib_path) rust build src/nalgebra.rc --out-dir $(nalgebra_lib_path)
test: test:
mkdir -p $(nalgebra_lib_path)
rust test src/nalgebra.rc rust test src/nalgebra.rc
rm nalgebratest~ rm nalgebratest~
doc: doc:
mkdir -p $(nalgebra_doc_path)
rust doc src/nalgebra.rc --output-dir $(nalgebra_doc_path) rust doc src/nalgebra.rc --output-dir $(nalgebra_doc_path)
.PHONY:doc .PHONY:doc