From 01a84eea5b0ebf844d4d660958f4c9a2721e3f5a Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 10 Nov 2001 16:24:27 +0000 Subject: [PATCH] added makefonts utility --- lib/example/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/example/Makefile b/lib/example/Makefile index 085b352..fedcc25 100644 --- a/lib/example/Makefile +++ b/lib/example/Makefile @@ -4,12 +4,15 @@ RFXSWF = ../rfxswf.o LDLIBS = -ljpeg -lm -lz CFLAGS = -funsigned-char CC = gcc +CXX = g++ DBFLAGS = -g2 -.c.o: +%.o: %.c $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $< +%.o: %.cc + $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $< -all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text +all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text ./jpegtest @@ -20,6 +23,7 @@ movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text ./sprites ./buttontest ./text + ./makefonts box: $(RFXSWF) box.o $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) @@ -48,6 +52,9 @@ text: $(RFXSWF) text.o zlibtest: $(RFXSWF) zlibtest.o $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS) +makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o + $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o ../../pdf2swf/spline.o ../rfxswf.o ../log.o -lt1 -ljpeg -lz ../../pdf2swf/xpdf/libpdf.a + clean: rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o sprites.o\ buttontest.o dumpfont.o text.o\ -- 1.7.10.4