2012-08-20 20:01:00 +00:00
|
|
|
.PHONY: build_ext test
|
|
|
|
|
|
|
|
build_ext:
|
2014-02-06 17:19:35 +00:00
|
|
|
env CFLAGS="-O0" python setup.py build_ext --inplace -g
|
2012-08-20 20:01:00 +00:00
|
|
|
|
2013-09-03 12:44:38 +00:00
|
|
|
test_lib:
|
2013-09-03 13:16:33 +00:00
|
|
|
rm -rf objc_classes/test/usrlib.dylib
|
|
|
|
clang objc_classes/test/testlib.m -o objc_classes/test/testlib.dylib -dynamiclib -framework Foundation
|
2013-07-07 22:37:20 +00:00
|
|
|
|
2012-08-20 20:01:00 +00:00
|
|
|
tests: build_ext
|
|
|
|
cd tests && env PYTHONPATH=..:$(PYTHONPATH) nosetests -v
|
2013-03-26 20:28:00 +00:00
|
|
|
|
|
|
|
html:
|
|
|
|
$(MAKE) -C docs html
|
|
|
|
|