1 CFLAGS=-Wall -g -Werror
5 all: hashsplit hashjoin datagen
13 test: hashsplit hashjoin
14 ./hashsplit.py <testfile1 >tags1
15 ./hashsplit.py <testfile2 >tags2
16 diff -u tags1 tags2 || true
17 wc -c testfile1 testfile2
19 ./hashjoin <tags1 >out1
20 ./hashjoin <tags2 >out2
21 diff -u testfile1 out1
22 diff -u testfile2 out2
25 gcc -o $@ $< $(LDFLAGS) $(LIBS)
32 gcc -c -o $@ $^ $(CPPFLAGS) $(CFLAGS)
35 rm -f *.o *~ hashsplit hashjoin hsplit hjoin datagen \