4 LDLIBS = -ljpeg -lm -lz
5 CFLAGS = -funsigned-char
11 $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
13 $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
15 all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text makefonts
17 movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
29 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
31 buttontest: $(RFXSWF) buttontest.o
32 $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
34 dumpfont: $(RFXSWF) dumpfont.o
35 $(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
37 jpegtest: $(RFXSWF) jpegtest.o
38 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
40 shape1: $(RFXSWF) shape1.o
41 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
43 sprites: $(RFXSWF) sprites.o
44 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
46 transtest: $(RFXSWF) transtest.o
47 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
49 text: $(RFXSWF) text.o
50 $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
52 zlibtest: $(RFXSWF) zlibtest.o
53 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
55 makefonts: $(RFXSWF) makefonts.o ../../pdf2swf/swfoutput.o
56 $(CXX) -o makefonts makefonts.o ../../pdf2swf/swfoutput.o ../../pdf2swf/spline.o ../rfxswf.o ../log.o -lt1 -ljpeg -lz ../../pdf2swf/xpdf/libpdf.a
59 rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o sprites.o\
60 buttontest.o dumpfont.o text.o\
61 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
62 sprites.swf buttontest.swf text.swf