go:
	ctags-exuberant cycles.py readline0.py
	/usr/local/cpython-3.9/bin/python3 singular.py
	/usr/local/cpython-3.9/bin/python3 -m mypy --disallow-untyped-calls cycles.py readline0.py
	find . -name '*.py' -print0 > file-list.txt; /usr/local/cpython-3.9/bin/python3 cycles --verbose --filenames-file file-list.txt
	# find dir1/dir2 -name 'mutual_a.py' -print0 > file-list.txt; /usr/local/cpython-3.9/bin/python3 -m pudb cycles --verbose --filenames-file file-list.txt

install:
	./install-file --directory /usr/local/lib/. --file cycles.py
	./install-file --directory /usr/local/bin/. --file cycles
	./install-file --directory /usr/local/lib/. --file readline0.py

clean:
	rm -rf __pycache__ .mypy_cache
	rm -f *.pyc
	rm -f file-list.txt monkeytype.sqlite3 tags