X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/dc114ca5b4215243eb985d5031d29f8c33770616..149a52a7ed82d85e78245dfd65e1b25de2c4dc75:/makefile?ds=sidebyside diff --git a/makefile b/makefile index 9818e31..380013c 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,6 @@ -install: pcf.c - gcc -O3 -fPIC -shared -I/usr/include/python2.7/ pcf.c -lpython2.7 -o src/pcf.so +install: src/pcf.so + +src/pcf.so: pcf.c + gcc -Ofast -fPIC -shared -I/usr/include/python2.7/ pcf.c -lpython2.7 -o src/pcf.so clean: rm -f src/pcf.so src/*.pyc