# Makefile - Don Yang (uguu.org)
#
# 07/10/10

width = 101
height = `perl -e 'print int($(width) * 0.5)'`

all: anri.txt

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

clean:
	-rm -f anri.txt

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