diff options
Diffstat (limited to 'TOOLS/subfont-c/Makefile')
-rw-r--r-- | TOOLS/subfont-c/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/TOOLS/subfont-c/Makefile b/TOOLS/subfont-c/Makefile index 10e9e26879..23d35a07d4 100644 --- a/TOOLS/subfont-c/Makefile +++ b/TOOLS/subfont-c/Makefile @@ -1,24 +1,18 @@ -#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) +#CFLAGS+=-DOLD_FREETYPE2 +#CFLAGS+=-g +#CFLAGS+=-DDEBUG + + subfont: subfont.o -run: subfont - ./subfont $(encoding) $(fontsize) $(font) - cat font.desc.tail >> font.desc - cp font.desc *.raw ~/.mplayer/font/ +subfont.S: subfont.c + $(CC) $(CFLAGS) -S $^ -o $@ clean: - rm -f subfont subfont.o + rm -f subfont subfont.o core |