libdrawtext

annotate examples/Makefile @ 3:fe0c54e574ae

fixed a bug in utf-8 decoding
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 15 Sep 2011 23:32:39 +0300
parents daa47eeca303
children 17fed026b24b
rev   line source
nuclear@3 1 fonts = fonts/FreeSerif.ttf fonts/klingon.ttf
nuclear@1 2
nuclear@1 3 .PHONY: all
nuclear@1 4 all: $(fonts)
nuclear@1 5 cd simple; $(MAKE)
nuclear@1 6
nuclear@1 7 fonts/FreeSerif.ttf:
nuclear@3 8 mkdir -p fonts
nuclear@1 9 wget http://ftp.gnu.org/gnu/freefont/freefont-ttf-20100919.tar.gz
nuclear@1 10 tar xzvf freefont-ttf-20100919.tar.gz
nuclear@3 11 rm -f freefont-ttf-20100919.tar.gz
nuclear@3 12 cp freefont-20100919/FreeSerif.ttf $@
nuclear@3 13
nuclear@3 14 fonts/klingon.ttf:
nuclear@3 15 mkdir -p fonts
nuclear@3 16 wget http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-53-45-33/tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 17 unzip -o tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 18 rm -f tlh_2D00_pIqaD_2D00_US.zip
nuclear@3 19 cp tlh-pIqaD-US/pIqaD.ttf $@