X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/6e16bbc7797b679d6681eee08d9103984728b98f..be8e99bf1ebe4006580e5c4e775afcc8d7c003b5:/makefile diff --git a/makefile b/makefile index 11daba2..9818e31 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -imago: pcf.c - gcc -shared -I/usr/include/python2.7/ -lpython2.7 -o pcf.so pcf.c +install: pcf.c + gcc -O3 -fPIC -shared -I/usr/include/python2.7/ pcf.c -lpython2.7 -o src/pcf.so clean: - rm -f pcf.so + rm -f src/pcf.so src/*.pyc