# Makefile - Don Yang (uguu.org)
#
# 11/25/11

width = 103
height = `perl -e 'print int($(width) * 0.45)'`

all: akari.txt

akari.txt: akari.png Makefile
	perl anytotxt.pl $< $(width) $(height) | perl trim_space.pl > $@
	perl freq.pl $@

clean:
	-rm -f akari.txt

backup:
	-rm -f backup.tar.xz
	tar cf backup.tar *.pl *.cdr Makefile
	xz -9 backup.tar
