1 CFLAGS=-Wall -g -O2 -Werror -I/usr/include/python2.5 -g -fPIC
5 all: bup-split bup-join bup-save bup randomgen chashsplit.so
9 chashsplit.so: chashsplitmodule.o
10 $(CC) -shared -o $@ $<
13 ./wvtest.py $(wildcard t/t*.py)
16 @echo "Testing \"$@\" in Makefile:"
17 ./bup split --bench -b <testfile1 >tags1
18 ./bup split -vvvv -b testfile2 >tags2
19 diff -u tags1 tags2 || true
20 wc -c testfile1 testfile2
22 ./bup join $$(cat tags1) >out1
23 ./bup join <tags2 >out2
24 diff -u testfile1 out1
25 diff -u testfile2 out2
27 test: all runtests-cmdline
28 ./wvtestrun $(MAKE) runtests
31 gcc -o $@ $< $(LDFLAGS) $(LIBS)
46 gcc -c -o $@ $^ $(CPPFLAGS) $(CFLAGS)
49 rm -f *.o *.so *~ .*~ *.pyc */*.pyc */*~ \
50 bup bup-split bup-join bup-save randomgen \