3 primitives.o: primitives.c primitives.h
4 gcc -g -O2 -Wall -Wno-unused -fPIC -I/usr/include/python2.2 -c primitives.c -o primitives.o
5 pyutils.o: pyutils.c pyutils.h
6 gcc -g -O2 -Wall -Wno-unused -fPIC -I/usr/include/python2.2 -c pyutils.c -o pyutils.o
7 SWF.o: SWF.c pyutils.h primitives.h
8 gcc -g -O2 -Wall -Wno-unused -fPIC -I/usr/include/python2.2 -c SWF.c -o SWF.o
10 SWF.so: primitives.o pyutils.o SWF.o
11 gcc -shared primitives.o SWF.o pyutils.o -o SWF.so -lpython2.2 ../librfxswf.a -ljpeg -lz
14 gcc -I/usr/include/python2.2 mypython.c -o mypython -lpython2.2