view bindings/python/Makefile @ 667:c322a631ba23

Yet more Makefile refinements Now stands a real chance on multiple python versions and multiple OSes. Still won't work on OS X, though.
author mas01cr
date Wed, 03 Feb 2010 10:50:02 +0000
parents 4dacfe92a6ff
children ce5ff00168e1
line wrap: on
line source
all:
	python setup.py build

test: ../../libaudioDB.so.0.0 all
	(cd tests && \
	 env PYTHONPATH=$$(python -c 'import distutils; import distutils.util; import sys; print "../build/lib.%s-%s" % (distutils.util.get_platform(), sys.version[0:3])') \
		LD_LIBRARY_PATH=../../.. \
		python InitialisationRelated.py)

clean:
	rm -rf tests/test* pyadb.pyc build