4 LDLIBS = -ljpeg -lm -lz
5 CFLAGS = -funsigned-char
10 $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
12 all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
14 movies: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
25 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
27 buttontest: $(RFXSWF) buttontest.o
28 $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
30 dumpfont: $(RFXSWF) dumpfont.o
31 $(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
33 jpegtest: $(RFXSWF) jpegtest.o
34 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
36 shape1: $(RFXSWF) shape1.o
37 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
39 sprites: $(RFXSWF) sprites.o
40 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
42 transtest: $(RFXSWF) transtest.o
43 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
45 text: $(RFXSWF) text.o
46 $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
48 zlibtest: $(RFXSWF) zlibtest.o
49 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
52 rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o sprites.o\
53 buttontest.o dumpfont.o text.o\
54 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
55 sprites.swf buttontest.swf text.swf