summaryrefslogtreecommitdiffstats
path: root/TOOLS/subfont-c/Makefile
blob: 10e9e26879aa8bed691e3acb3a5c772020dbd925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#font="/mnt/win/windows/fonts/arial.ttf"
#font="/mnt/win/windows/fonts/comic.ttf"
#font="/mnt/win/windows/fonts/verdanai.ttf"
font="/mnt/win/windows/fonts/verdana.ttf"

#encoding=windows-1250
encoding=iso-8859-2

fontsize=20

include ../../config.mak

LDLIBS=-lm $(shell freetype-config --libs)
CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags)

subfont:	subfont.o

run:	subfont
	./subfont $(encoding) $(fontsize) $(font)
	cat font.desc.tail >> font.desc
	cp font.desc *.raw ~/.mplayer/font/

clean:
	rm -f subfont subfont.o