# Makefile - Don Yang (uguu.org)
#
# 2015-09-27


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

target = fuuko.txt

all: $(target)
	@perl freq.pl $(target)

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

clean:
	-rm -f $(target)

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