view TOOLS/subfont-c/Makefile @ 19420:4f71ed7cb512

Move all internal -I parameters to the front of CFLAGS to avoid using external header files that happen to have the same name as internal ones. based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com
author diego
date Thu, 17 Aug 2006 17:19:56 +0000
parents c304e5836276
children
line wrap: on
line source


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