#
# Author: George V. Neville-Neil
#
# Makefile for building distributions of PCS.  

#PYTHON	= python2.6    #
#CYTHON  = cython-2.6   # These versions are set for Mac OS Only

PYTHON	= python
CYTHON  = cython

all: 
	$(PYTHON) setup.py config
	$(PYTHON) setup.py build

install: all
	$(PYTHON) setup.py install

dist:
	$(PYTHON) setup.py sdist

clean:
	$(PYTHON) setup.py clean
	rm -rf build dist MANIFEST \
		pcs/pcap/pcap.c \
		pcs/bpf/bpf.c \
		pcs/clock/clock.c
