From 149a52a7ed82d85e78245dfd65e1b25de2c4dc75 Mon Sep 17 00:00:00 2001 From: Tomas Musil Date: Mon, 21 Jul 2014 23:53:44 +0200 Subject: [PATCH] better makefile --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index a6b9454..380013c 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,6 @@ -install: 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 src/pcf.so src/*.pyc -- 2.4.2