view TOOLS/subfont-c/Makefile @ 9316:7a0d466a51a8

The patch add a library detection to configure and the usage of the detected libraries in Makefile. based on patch by Alexander.Gottwald@informatik.tu-chemnitz.de
author arpi
date Fri, 07 Feb 2003 18:56:55 +0000
parents 44ce5a673be2
children 3f3b7829dce8
line wrap: on
line source

include ../../config.mak

LDLIBS=-lm ../../linux/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