---- fann-1.1.0/python/Makefile.old 2004-01-28 09:42:55.000000000 +0100
-+++ fann-1.1.0/python/Makefile 2004-06-05 15:56:46.242972328 +0200
-@@ -6,7 +6,7 @@
+diff -urN fann-1.2.0/python/makefile.gnu fann-1.2.0.new/python/makefile.gnu
+--- fann-1.2.0/python/makefile.gnu 2004-10-09 13:56:57.000000000 +0200
++++ fann-1.2.0.new/python/makefile.gnu 2005-11-13 20:10:45.000000000 +0100
+@@ -1,18 +1,18 @@
+ # This makefile was written to compile a distribution of pyfann for
+ # GNU platforms (cygwin included.)
+
+-TARGETS = _libfann.dll
++TARGETS = _libfann.so
+
+-PYTHON=python2.3
+-LIBS=-L. -L/usr/local/lib -L/usr/bin -l$(PYTHON) ../src/fann*.o
++PYTHON=python2.4
++LIBS=-L. -L/usr/lib -L/usr/bin -l$(PYTHON) ../src/fann*.o
+
all: $(TARGETS)
- _%.so: %_wrap.o
-- gcc -shared $< -lfann -o $@
-+ gcc -shared $< -L../src/.libs/ -lfann -o $@
+-_%.dll: %_wrap.o fann_helper.o
+- gcc $(LIBS) -shared -dll $^ -o $@
++_%.so: %_wrap.o fann_helper.o
++ gcc $(LIBS) -shared $^ -o $@
%.o: %.c
- gcc -c -fpic $< -I/usr/include/python2.3/
+- gcc -c $< -I/usr/include/$(PYTHON)/
++ gcc -c $< -I/usr/include/$(PYTHON)/ -I../src/include/
+
+ %_wrap.c: %.i
+ swig -python $<