3 RFXSWF = ../librfxswf.a
4 LDLIBS = -L/usr/X11R6/lib -ljpeg -lm -lz -lX11
5 #CFLAGS = -funsigned-char
11 $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
13 $(CXX) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
17 all: sound jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text glyphshape edittext
19 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
21 sound: $(RFXSWF) sound.o
22 $(CC) -o sound sound.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
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 glyphshape: $(RFXSWF) glyphshape.o
34 $(CC) -o glyphshape glyphshape.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
36 jpegtest: $(RFXSWF) jpegtest.o
37 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
39 shape1: $(RFXSWF) shape1.o
40 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
42 sprites: $(RFXSWF) sprites.o
43 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
45 transtest: $(RFXSWF) transtest.o
46 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
48 text: $(RFXSWF) text.o
49 $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
51 edittext: $(RFXSWF) edittext.o
52 $(CC) -o edittext edittext.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
54 zlibtest: $(RFXSWF) zlibtest.o
55 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
58 rm -f jpegtest.o box.o shape1.o transtest.o zlibtest.o \
59 sprites.o glyphshape.o edittext.o \
60 buttontest.o dumpfont.o text.o \
61 jpegtest.swf box.swf shape1.swf transtest.swf zlibtest.swf \
62 sprites.swf buttontest.swf text.swf glyphshape.swf sound.swf \