# file: Makefile G. Moody 10 March 2006 # Last revised: 6 April 2006 all: setup.py wfdb_python_wrap.c python setup.py build install: setup.py wfdb_python_wrap.c python setup.py install check: @python ../examples/psamples.py >check.out @if ( diff -q check.out ../examples/psamples.out ) \ then echo "Passed"; else echo "Failed"; fi wfdb_python_wrap.c: ../wfdb.i swig -I/usr/include -python -outdir . -o wfdb_python_wrap.c ../wfdb.i clean: python setup.py clean rm -rf build check.out swig-version wfdb* *~