PYTHON = ../../py3k/python.exe all: deccoeff.so module: $(PYTHON) setup.py build cp build/lib*/deccoeff.so . clean: -rm -fr build/ -rm deccoeff.o deccoeff.so -rm *.pyc -rm config.status config.log -rm -fr autom4te.cache/ -rm telco/telco.out distclean: clean -rm configure test: deccoeff.so $(PYTHON) test_deccoeff.py $(PYTHON) test_decimal.py run: deccoeff.so $(PYTHON) -i run.py profile: deccoeff.so $(PYTHON) profile.py install: all $(PYTHON) setup.py install deccoeff.so: deccoeff.c $(PYTHON) setup.py build cp build/lib*/deccoeff.so .