new examples: dumpfont and text
[swftools.git] / lib / example / Makefile
1 # Makefile
2
3 RFXSWF  = ../rfxswf.o
4 LDLIBS  = -ljpeg -lm -lz
5 CFLAGS  = -funsigned-char
6 CC      = gcc
7 DBFLAGS = -g2
8
9 .c.o:
10                 $(CC) -c $(CFLAGS) $(DBFLAGS) -o $@ $<
11
12 all: jpegtest box shape1 transtest zlibtest sprites buttontest dumpfont text
13
14 box: $(RFXSWF) box.o
15                 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
16
17 buttontest: $(RFXSWF) buttontest.o
18                 $(CC) -o buttontest buttontest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
19
20 dumpfont: $(RFXSWF) dumpfont.o
21                 $(CC) -o dumpfont dumpfont.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
22
23 jpegtest: $(RFXSWF) jpegtest.o
24                 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
25
26 shape1: $(RFXSWF) shape1.o
27                 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
28
29 sprites: $(RFXSWF) sprites.o
30                 $(CC) -o sprites sprites.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
31
32 transtest: $(RFXSWF) transtest.o
33                 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
34
35 text: $(RFXSWF) text.o
36                 $(CC) -o text text.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
37
38 zlibtest: $(RFXSWF) zlibtest.o
39                 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
40
41 clean:
42                 rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o sprites.o\
43                 buttontest.o dumpfont.o text.o\
44                 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf \
45                 sprites.swf buttontest.swf text.swf
46
47