1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 14:52:43 +00:00
mpv/TOOLS/subfont-c/Makefile
diego a044876adf Unify include path handling by adding $(MPROOT) to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17015 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:57:15 +00:00

26 lines
489 B
Makefile

MPROOT=../..
include $(MPROOT)/config.mak
LDLIBS=-lm $(MPROOT)/osdep/timer-lx.o $(shell freetype-config --libs)
CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags) -I$(MPROOT)
#CFLAGS+=-O0 # for RedHat's gcc-2.96-95
#CFLAGS+=-DOLD_FREETYPE2 # for FreeType 2.0.1
#CFLAGS+=-g
#CFLAGS+=-DDEBUG
#CFLAGS+=-DNEW_DESC
subfont: subfont.o
subfont.o: subfont.c
$(CC) $(CFLAGS) -c $< -o $@
subfont.S: subfont.c
$(CC) $(CFLAGS) -S $< -o $@
clean:
rm -f subfont subfont.o subfont.S core