1 --- Makefile 2011-09-23 11:46:06.383671859 -0400
2 +++ Makefile.new 2011-09-23 11:46:52.210338124 -0400
7 -LDFLAGS = -shared -rdynamic `python-config --ldflags` -lboost_python
8 -LIBS = -lstdc++ `python-config --libs`
9 -CFLAGS = -Wall -I/usr/include `python-config --includes` -I./ -I./kbool/include -g -fPIC
10 +LDFLAGS = -shared -rdynamic `python2-config --ldflags` -lboost_python
11 +LIBS = -lstdc++ `python2-config --libs`
12 +CFLAGS = -Wall -I/usr/include `python2-config --includes` -I./ -I./kbool/include -g -fPIC
15 LIBOBJS = Arc.o Area.o AreaBoolean.o AreaDxf.o AreaOrderer.o AreaPocket.o booleng.o Circle.o Construction.o Curve.o dxf.o Finite.o graph.o graphlst.o instonly.o kurve.o line.o link.o lpoint.o Matrix.o node.o offset.o PythonStuff.o record.o scanbeam.o
20 - mkdir -p $(DESTDIR)`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1, standard_lib=0, prefix='$(PREFIX)')"`
21 - install $^ $(DESTDIR)`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1, standard_lib=0, prefix='$(PREFIX)')"`
22 + mkdir -p $(DESTDIR)`python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1, standard_lib=0, prefix='$(PREFIX)')"`
23 + install $^ $(DESTDIR)`python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1, standard_lib=0, prefix='$(PREFIX)')"`
30 $(CC) -c $? ${CFLAGS} -o $@