X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb%2Ftools%2FMakefile;h=6ba6f9987a9856d365769a613cea22ccfc2ec42e;hb=b6df44dc1f0c50bbed35e8f3370117ea2465f74a;hp=8febc40ff77505a0128885210e0604b0af2f077f;hpb=2b2d18863f332dacbb9544c910be94968fc5112b;p=ccan diff --git a/ccan/tdb/tools/Makefile b/ccan/tdb/tools/Makefile index 8febc40f..6ba6f998 100644 --- a/ccan/tdb/tools/Makefile +++ b/ccan/tdb/tools/Makefile @@ -1,8 +1,8 @@ -LDLIBS:=../../tdb.o ../../hash.o +LDLIBS:=../../tdb.o ../../tally.o CFLAGS:=-I../../.. -Wall -O3 #-g -pg LDFLAGS:=-L../../.. -default: replay_trace tdbtorture tdbdump tdbtool starvation +default: replay_trace tdbtorture tdbdump tdbtool starvation mktdb speed benchmark: replay_trace @trap "rm -f /tmp/trace.$$$$" 0; for f in benchmarks/*.rz; do if runzip -k $$f -o /tmp/trace.$$$$ && echo -n "$$f": && ./replay_trace --quiet -n 5 replay.tdb /tmp/trace.$$$$ && rm /tmp/trace.$$$$; then rm -f /tmp/trace.$$$$; else exit 1; fi; done @@ -30,4 +30,4 @@ check: replay_trace @sed 's/\(^[0-9]* traverse\) .*/\1fn/' < $^ > $@ clean: - rm -f replay_trace tdbtorture tdbdump tdbtool *.o + rm -f replay_trace tdbtorture tdbdump tdbtool speed *.o