1 CFLAGS=-Wall -g -O2 -Werror -I/usr/include/python2.5 -g -fwrapv -fPIC
5 all: hashsplit hashjoin datagen hashsplit.so
9 hashsplit.so: hashsplitmodule.o
10 $(CC) -shared -Wl,-Bsymbolic-functions -o $@ $<
13 ./hashsplit.py <testfile1 >tags1
14 ./hashsplit.py <testfile2 >tags2
15 diff -u tags1 tags2 || true
16 wc -c testfile1 testfile2
18 ./hashjoin <tags1 >out1
19 ./hashjoin <tags2 >out2
20 diff -u testfile1 out1
21 diff -u testfile2 out2
24 gcc -o $@ $< $(LDFLAGS) $(LIBS)
35 gcc -c -o $@ $^ $(CPPFLAGS) $(CFLAGS)
38 rm -f *.o *.so *~ hashsplit hashjoin hsplit hjoin datagen *.pyc \