1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-03 12:47:49 +00:00
mpv/TOOLS/subfont-c/Makefile
arpi 50a05a93da using OPTFLAGS and CC from config.mak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1474 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-09 18:40:06 +00:00

25 lines
528 B
Makefile

#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