# HG changeset patch # User mas01cr # Date 1265192889 0 # Node ID 4dacfe92a6ff4b5772346140a7839f98d636d891 # Parent 50761b56e8bebbf0f18059e264a535f231c55fcb 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. diff -r 50761b56e8be -r 4dacfe92a6ff Makefile --- a/Makefile Tue Feb 02 22:22:49 2010 +0000 +++ b/Makefile Wed Feb 03 10:28:09 2010 +0000 @@ -7,7 +7,7 @@ LIBGSL=$(shell pkg-config --libs gsl) TESTDIRS=tests libtests -BINDINGDIRS=bindings/sb-alien bindings/pd +BINDINGDIRS=bindings/sb-alien bindings/pd bindings/python PREFIX=/usr/local EXEC_PREFIX=$(PREFIX) diff -r 50761b56e8be -r 4dacfe92a6ff bindings/python/Makefile --- a/bindings/python/Makefile Tue Feb 02 22:22:49 2010 +0000 +++ b/bindings/python/Makefile Wed Feb 03 10:28:09 2010 +0000 @@ -1,7 +1,11 @@ all: python setup.py build -test: - env PYTHONPATH=./build/lib.linux-i686-2.5 \ - LD_LIBRARY_PATH=../.. \ - python tests/InitialisationRelated.py \ No newline at end of file +test: ../../libaudioDB.so.0.0 all + (cd tests && \ + env PYTHONPATH=../build/lib.linux-`uname -m`-2.5 \ + LD_LIBRARY_PATH=../../.. \ + python InitialisationRelated.py) + +clean: + rm -rf tests/test* pyadb.pyc build