go: clean
	./hello.py
	pbmtext 'hello!' | pnmtopng > icon/hello.png
	python3 setup.py py2app
	rm -rf /Applications/hello.app
	(cd dist && tar cflS - hello.app) | (cd /Applications && tar xvfp -)
	# This can be expected to segfault, but the launcher likes it because of DYLD_LIBRARY_PATH.
	/Applications/hello.app/Contents/MacOS/hello

clean:
	rm -rf build dist
	rm -f icon/hello.png