summaryrefslogtreecommitdiffstats
path: root/TOOLS/subfont-c/Makefile
blob: 061f5d5c2c83147c5248f08a6d6bb42fd0fc69ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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

subfont.S:	subfont.c
	$(CC) $(CFLAGS) -S $^ -o $@

clean:
	rm -f subfont subfont.o core