3 LIB=-L/usr/lib/python2.2/config/ -lpython2.2
4 I=-I/usr/include/python2.2
8 primitives.o: primitives.c primitives.h
9 $(C) -g -O2 -Wall -Wno-unused -fPIC $(I) -c primitives.c -o primitives.o
10 tagmap.o: tagmap.c tagmap.h
11 $(C) -g -O2 -Wall -Wno-unused -fPIC $(I) -c tagmap.c -o tagmap.o
12 taglist.o: taglist.c taglist.h tagmap.h tag.h
13 $(C) -g -O2 -Wall -Wno-unused -fPIC $(I) -c taglist.c -o taglist.o
14 tag.o: tag.c tag.h tagmap.h
15 $(C) -g -O2 -Wall -Wno-unused -fPIC $(I) -c tag.c -o tag.o
16 action.o: action.c action.h
17 $(C) -g -O2 -Wall -Wno-unused -fPIC $(I) -c action.c -o action.o
18 pyutils.o: pyutils.c pyutils.h
19 $(C) -g -O2 -Wall -Wno-unused -fPIC $(I) -c pyutils.c -o pyutils.o
21 SWF.o: SWF.c pyutils.h primitives.h taglist.h
22 $(C) -g -O2 -Wall -Wno-unused -fPIC $(I) -c SWF.c -o SWF.o
24 SWF.so: SWF.o taglist.o tag.o tagmap.o action.o primitives.o pyutils.o ../librfxswf.a
25 $(C) -shared SWF.o tagmap.o taglist.o tag.o action.o primitives.o pyutils.o -o SWF.so ../librfxswf.a -ljpeg -lz -lt1 -lfreetype
28 $(C) -g -I/usr/include/python2.2 mypython.c -o mypython $(LIB) -ldl -lm -lpthread -lutil
34 swfdump -p tmp/test.swf
38 swfdump -u -p tmp/combined.swf
42 .PHONY: test,test1,test2