view TOOLS/subfont-c/Makefile @ 15576:82fe45e7ca77

setting sh_audio to NULL is nonsense, since it is only a local variable, use d_audio->sh instead. Fixes crash for incoming/VTS_01_1_orig.VOB, though it still doesn't select the other audio stream automatically.
author reimar
date Fri, 27 May 2005 12:38:29 +0000
parents 3f3b7829dce8
children 3bfc7cbf4060
line wrap: on
line source

include ../../config.mak

LDLIBS=-lm ../../osdep/timer-lx.o $(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