fix capture.py, add imago-camera, imago-timer
[imago.git] / makefile
index 0192f0c..380013c 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,4 +1,6 @@
-install: pcf.c
-       gcc -Ofast -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