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

width = 145
height = `perl -e 'print int($(width) * 0.5 * 1100.0 / 1013.0)'`

all: kazari.txt

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

clean:
	-rm -f kazari.txt

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