X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/a9316acc6169c038fd04da851b05d325339bbff2..refs/heads/master:/makefile?ds=inline diff --git a/makefile b/makefile index a2bc50a..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 imago_pack/pcf.so imago_pack/*.pyc + rm -f src/pcf.so src/*.pyc