mirror of https://github.com/kivy/pyobjus.git
makefile: make sure we can clean and recompile
This commit is contained in:
parent
3732d8d55a
commit
3f5364e021
10
Makefile
10
Makefile
|
@ -1,4 +1,4 @@
|
|||
.PHONY: build_ext test
|
||||
.PHONY: build_ext test all
|
||||
|
||||
build_ext:
|
||||
env CFLAGS="-O0" python setup.py build_ext --inplace -g
|
||||
|
@ -8,8 +8,14 @@ test_lib:
|
|||
clang objc_classes/test/testlib.m -o objc_classes/test/testlib.dylib -dynamiclib -framework Foundation
|
||||
|
||||
tests: build_ext
|
||||
cd tests && env PYTHONPATH=..:$(PYTHONPATH) nosetests -v
|
||||
cd tests && env PYTHONPATH=..:$(PYTHONPATH) pytest -v
|
||||
|
||||
html:
|
||||
$(MAKE) -C docs html
|
||||
|
||||
distclean:
|
||||
rm -rf pyobjus/*.so
|
||||
rm -rf pyobjus/*.pyc
|
||||
rm -rf pyobjus/__pycache__
|
||||
|
||||
all: build_ext
|
||||
|
|
Loading…
Reference in New Issue