# Makefile
-RFXSWF = ../librfxswf.a
+RFXSWF = ../librfxswf$(A)
LDLIBS = -L/usr/X11R6/lib -ljpeg -lm -lz -lX11 -lfreetype -lt1
#CFLAGS = -funsigned-char
CC = gcc
%.swf: %
./$<
-all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext protect
+all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext protect hexfont
movies: sound.swf jpegtest.swf box.swf shape1.swf transtest.swf zlibtest.swf sprites.swf buttontest.swf dumpfont.swf text.swf glyphshape.swf edittext.swf
transtest: $(RFXSWF) transtest.o $(RFXSWF)
$(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
+hexfont: $(RFXSWF) hexfont.o $(RFXSWF)
+ $(CC) -o hexfont hexfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
+
+text.o: demofont.c
text: $(RFXSWF) text.o $(RFXSWF)
$(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)