annotate bindings/python/Makefile @ 765:337e72088f76

Fix for some sample bugs a + b ? c : d does not do what I think it does. That bug mostly masked a thorough logic error in building the table of counts of possible sequences; there was too much cumulativeness. There apparently remain problems
author mas01cr
date Thu, 02 Jun 2011 16:31:35 +0000
parents ce5ff00168e1
children
rev   line source
map01bf@668 1 EXECUTABLE=audioDB
map01bf@668 2 SOVERSION=0
map01bf@668 3 MINORVERSION=0
map01bf@668 4 LIBRARY=lib$(EXECUTABLE).so.$(SOVERSION).$(MINORVERSION)
map01bf@668 5
map01bf@668 6 ifeq ($(shell uname),Darwin)
map01bf@668 7 override LIBRARY=lib$(EXECUTABLE).$(SOVERSION).$(MINORVERSION).dylib
map01bf@668 8 endif
map01bf@668 9
mas01cr@664 10 all:
mas01cr@664 11 python setup.py build
mas01cr@664 12
map01bf@668 13 test: ../../$(LIBRARY) all
mas01cr@666 14 (cd tests && \
mas01cr@667 15 env PYTHONPATH=$$(python -c 'import distutils; import distutils.util; import sys; print "../build/lib.%s-%s" % (distutils.util.get_platform(), sys.version[0:3])') \
mas01cr@666 16 LD_LIBRARY_PATH=../../.. \
mas01cr@666 17 python InitialisationRelated.py)
mas01cr@666 18
mas01cr@666 19 clean:
mas01cr@666 20 rm -rf tests/test* pyadb.pyc build