From 19e9410ed316a2cf746401cd3b958f9c6171d312 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 1 Dec 2011 15:47:52 +0100 Subject: [PATCH] Makefile: remove optimization for now, and do build_ext instead of install. (now we can debug.) --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 44f5d8fe2..2cff75cf2 100644 --- a/Makefile +++ b/Makefile @@ -23,13 +23,14 @@ ios-build: mkdir iosbuild echo "First build ========================================" - -USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py install -O2 --root iosbuild + -USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py build_ext -g echo "cythoning ==========================================" find . -name *.pyx -exec cython {} \; ios-install: echo "Second build =======================================" - USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py install -O2 --root iosbuild + USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py build_ext -g + USE_IOS=1 USE_SDL=1 PATH=$(IOSPATH) $(HOSTPYTHON) setup.py install -O0 --root iosbuild # Strip away the large stuff find iosbuild/ | grep -E '*\.(py|pyc|so\.o|so\.a|so\.libs)$$' | xargs rm -rm -rdf "../ios/python-for-iphone/Python-2.7.1-IOS5.0-device/lib/python2.7/site-packages/kivy"