fixed graphics bug
[swftools.git] / lib / python / Makefile
1 all: mypython SWF.so
2
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
9
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
12
13 mypython: mypython.c
14         gcc -I/usr/include/python2.2 mypython.c -o mypython -lpython2.2
15
16 test: SWF.so
17         python fonts.py