view TOOLS/subfont-c/Makefile @ 10624:cdfd4a43c406

I've juste found a bug which prevent to load a file whose name contain a quote ('). The menu simply execute a "loadfile '%p'" but when the %p is replaced by the actual value, quotes in it are not escaped ! Moreover, mp_input_parse_cmd contain some code to unescape strings but this code was placed after the string was copied in his final buffer. So this patch correct this issue. By Aurlien Jacobs
author albeu
date Fri, 15 Aug 2003 18:45:35 +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