# Location of your Python executable
PYTHON = python

# Some tests to make sure the example code works
TESTS = smart_ptr.test.py attributes.test.py table.test.py del_order.test.py \
	list.test.py iterate.test.py


test:
	@files='$(TESTS)'; for f in $$files; do \
	  echo "Testing $$f ..."; \
	  $(PYTHON) $$f || exit 1; \
	done
	@echo "All tests passed successfully"

clean:
	-rm *~ *.pyc
