* updated examples to new rfxswf name conventions
[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
13
14 box: $(RFXSWF) box.o
15                 $(CC) -o box box.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
16
17 jpegtest: $(RFXSWF) jpegtest.o
18                 $(CC) -o jpegtest jpegtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
19
20 shape1: $(RFXSWF) shape1.o
21                 $(CC) -o shape1 shape1.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
22
23 transtest: $(RFXSWF) transtest.o
24                 $(CC) -o transtest transtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
25
26 zlibtest: $(RFXSWF) zlibtest.o
27                 $(CC) -o zlibtest zlibtest.o $(RFXSWF) $(LDLIBS) $(DBFLAGS)
28
29 clean:
30                 rm -f jpegtest.o box.o shape1.o trastest.o zlibtest.o \
31                 jpegtest.swf box.swf shape1.swf trastest.swf zlibtest.swf
32
33