Mercurial > hg > audiodb
annotate bindings/python/Makefile @ 666:4dacfe92a6ff
More, better makefiles
Generalize the python makefile a little bit; now likely to work on multiple
Linux platforms. Also adjust it to bring it into line with the calling
convention of the top-level makefile, and include bindings/pd in BINDINGDIRS.
author | mas01cr |
---|---|
date | Wed, 03 Feb 2010 10:28:09 +0000 |
parents | e33a6342ddea |
children | c322a631ba23 |
rev | line source |
---|---|
mas01cr@664 | 1 all: |
mas01cr@664 | 2 python setup.py build |
mas01cr@664 | 3 |
mas01cr@666 | 4 test: ../../libaudioDB.so.0.0 all |
mas01cr@666 | 5 (cd tests && \ |
mas01cr@666 | 6 env PYTHONPATH=../build/lib.linux-`uname -m`-2.5 \ |
mas01cr@666 | 7 LD_LIBRARY_PATH=../../.. \ |
mas01cr@666 | 8 python InitialisationRelated.py) |
mas01cr@666 | 9 |
mas01cr@666 | 10 clean: |
mas01cr@666 | 11 rm -rf tests/test* pyadb.pyc build |