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