X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/ecc0929cb0e011db2825e79d7495d7ef7b113e1e..81e4eb0f1e3e06ab476c9707fb950c0e1225d33f:/makefile diff --git a/makefile b/makefile index 028e827..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 imago_pack/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 pcf.so + rm -f src/pcf.so src/*.pyc