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

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

all: nagisa.txt

nagisa.txt: nagisa_bw.jpg Makefile
	perl anytotxt.pl $< $(width) $(height) | perl trim_space.pl > $@
	perl freq.pl $@

clean:
	-rm -f nagisa.txt

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