1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 04:15:13 +00:00
mpv/TOOLS/subfont-c/Makefile

22 lines
438 B
Makefile
Raw Normal View History

include ../../config.mak
LDLIBS=-lm $(shell freetype-config --libs)
CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags)
#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 Makefile ../../bswap.h
subfont.S: subfont.c Makefile ../../bswap.h
$(CC) $(CFLAGS) -S $< -o $@
clean:
rm -f subfont subfont.o core