PYINCLUDE:=$(shell python2.5-config --includes)
+PYLIB:=$(shell python2.5-config --lib)
CFLAGS=-Wall -g -O2 -Werror $(PYINCLUDE) -g -fPIC
default: all
randomgen: randomgen.o
chashsplit.so: chashsplitmodule.o
- $(CC) -shared -o $@ $<
+ $(CC) -shared -o $@ $< $(PYLIB)
runtests: all
./wvtest.py $(wildcard t/t*.py)