4 LDLIBS = -ljpeg -lm -lz
5 CFLAGS = -funsigned-char
10 $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
12 all: jpegtest box shape1 transtest zlibtest sprites buttontest
15 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
17 buttontest: $(RFXSWF) buttontest.o
18 $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
20 jpegtest: $(RFXSWF) jpegtest.o
21 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
23 shape1: $(RFXSWF) shape1.o
24 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
26 sprites: $(RFXSWF) sprites.o
27 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
29 transtest: $(RFXSWF) transtest.o
30 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
32 zlibtest: $(RFXSWF) zlibtest.o
33 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
36 rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o sprites.o\
38 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
39 sprites.swf buttontest.swf