summaryrefslogtreecommitdiff
path: root/sa-extract/Makefile
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-23 19:59:44 -0400
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-23 19:59:44 -0400
commiteeef93717fed2901f6fcd2e3fd11118e0e309af7 (patch)
treeb430beb08700419ead3dc63ceb45f24edb2d38ec /sa-extract/Makefile
parent06f90d83a1feafad301d365a4a437e44f68be45b (diff)
[python] Evaluation metrics in Python
Diffstat (limited to 'sa-extract/Makefile')
-rw-r--r--sa-extract/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/sa-extract/Makefile b/sa-extract/Makefile
index 7b39ae4d..3145bbfe 100644
--- a/sa-extract/Makefile
+++ b/sa-extract/Makefile
@@ -1,17 +1,11 @@
-PYVER=python2.7
-PYDIR=/usr/local/Cellar/python/2.7.2
-PYINCLUDE=$(PYDIR)/include/$(PYVER)
-CYTHON=/usr/local/share/python/cython
-PYTHON=$(PYDIR)/bin/python
-
%.c: %.pyx
- $(CYTHON) $< -o $@
+ cython $< -o $@
%.o: %.cc
g++ -O6 -g -fPIC -c $<
all: cstrmap.c strmap.cc rule.c sym.c cdat.c cintlist.c cfloatlist.c calignment.c csuf.c clex.c rulefactory.c cveb.c lcp.c precomputation.c
- $(PYTHON) setup.py build
+ python setup.py build
clean:
rm -f cdat.c cstrmap.c sym.c rule.c cintlist.c cfloatlist.c calignment.c csuf.c clex.c rulefactory.c cveb.c lcp.c precomputation.c *.so *.o *.cxx *~ *.pyc