libdrawtext
annotate examples/Makefile @ 4:17fed026b24b
done with the unicode sample
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Fri, 16 Sep 2011 08:31:06 +0300 |
parents | fe0c54e574ae |
children | 462bcb69de15 |
rev | line source |
---|---|
nuclear@4 | 1 fonts = fonts/linux-libertine.ttf fonts/klingon.ttf fonts/sazanami-mincho.ttf |
nuclear@1 | 2 |
nuclear@1 | 3 .PHONY: all |
nuclear@1 | 4 all: $(fonts) |
nuclear@1 | 5 cd simple; $(MAKE) |
nuclear@4 | 6 cd unicode; $(MAKE) |
nuclear@1 | 7 |
nuclear@4 | 8 fonts/linux-libertine.ttf: |
nuclear@3 | 9 mkdir -p fonts |
nuclear@4 | 10 wget http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3-2/LinLibertineTTF_5.1.3_2011_06_21.tgz |
nuclear@4 | 11 mkdir -p linlibertine |
nuclear@4 | 12 cd linlibertine; tar xzvf ../LinLibertineTTF_5.1.3_2011_06_21.tgz |
nuclear@4 | 13 rm -f LinLibertineTTF_5.1.3_2011_06_21.tgz |
nuclear@4 | 14 cp linlibertine/LinLibertine_R.ttf $@ |
nuclear@4 | 15 |
nuclear@4 | 16 fonts/sazanami-mincho.ttf: |
nuclear@4 | 17 mkdir -p fonts |
nuclear@4 | 18 wget -O sazanami-20040629.tar.bz2 'http://sourceforge.jp/frs/redir.php?m=iij&f=/efont/10087/sazanami-20040629.tar.bz2' |
nuclear@4 | 19 tar xjvf sazanami-20040629.tar.bz2 |
nuclear@4 | 20 rm -f sazanami-20040629.tar.bz2 |
nuclear@4 | 21 cp sazanami-20040629/sazanami-mincho.ttf $@ |
nuclear@3 | 22 |
nuclear@3 | 23 fonts/klingon.ttf: |
nuclear@3 | 24 mkdir -p fonts |
nuclear@3 | 25 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 | 26 unzip -o tlh_2D00_pIqaD_2D00_US.zip |
nuclear@3 | 27 rm -f tlh_2D00_pIqaD_2D00_US.zip |
nuclear@3 | 28 cp tlh-pIqaD-US/pIqaD.ttf $@ |