# Copyright (c) 2001-2002 Python Software Foundation.  All rights reserved.
#
# This code is released under the standard PSF license.
# See the file LICENSE.

# Primitive Makefile, interfacing to setup.py.  Targets:
#
# all
#     builds the extension wrapper (in place)
# test
#     tests the version just built
# install
#     installs it
# clean
#     removes build artefacts

# Set this to your favorite Python version.
PYTHON=python2.1

all:
	$(PYTHON) setup.py build_ext -i

install:
	$(PYTHON) setup.py install

test: all
	$(PYTHON) testspread.py -v

clean:
	-rm -f *.o *.so
