Permalink
Browse files

BLD Add a Makefile

This can be very convenient
  • Loading branch information...
1 parent 6fb3dc1 commit 41eb3cb14004f29032ad9d156d27bd3600de9062 @luispedro committed Jan 10, 2013
Showing with 21 additions and 0 deletions.
  1. +21 −0 Makefile
View
@@ -0,0 +1,21 @@
+SOURCES = milk/*/*.cpp
+
+debug: $(SOURCES)
+ DEBUG=2 python setup.py build --build-lib=.
+
+fast: $(SOURCES)
+ python setup.py build --build-lib=.
+
+clean:
+ rm -rf build milk/*/*.so
+
+tests: debug
+ nosetests -vx
+
+docs:
+ rm -rf build/docs
+ cd docs && make html && cp -r build/html ../build/docs
+ @echo python setup.py upload_docs
+
+.PHONY: clean docs tests fast debug
+

0 comments on commit 41eb3cb

Please sign in to comment.