X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/2b3e40c0c1702b8519531cd76df28c6ec207ac33..04c7dfcf51881df1f6a2058c8a74c179ab3aee13:/makefile?ds=sidebyside diff --git a/makefile b/makefile index db25815..380013c 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,6 @@ -install: pcf.c - gcc -shared -I/usr/include/python2.7/ -lpython2.7 -o pcf.so pcf.c +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