gridf3
[imago.git] / makefile
index 11daba2..a2bc50a 100644 (file)
--- 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 imago_pack/pcf.so
 clean:
-       rm -f pcf.so
+       rm -f imago_pack/pcf.so imago_pack/*.pyc