]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/tools/Makefile
tdb2: Add speed test to tdb and tdb2
[ccan] / ccan / tdb2 / tools / Makefile
index c16f27bf79bf59efa0a18ed7ca98d6fc405a31f5..19bb731e8789730f3bb8eace7c3d88c31b19ccba 100644 (file)
@@ -1,12 +1,13 @@
 OBJS:=../../tdb2.o ../../hash.o ../../tally.o
-CFLAGS:=-I../../.. -Wall -g #-g -O3 #-g -pg
+CFLAGS:=-I../../.. -Wall -g -O3 #-g -pg
 LDFLAGS:=-L../../..
 
-default: tdbtorture tdbtool mktdb
+default: tdbtorture tdbtool mktdb speed
 
 tdbtorture: tdbtorture.c $(OBJS)
 tdbtool: tdbtool.c $(OBJS)
 mktdb: mktdb.c $(OBJS)
+speed: speed.c $(OBJS)
 
 clean:
-       rm -f tdbtorture tdbtool mktdb
+       rm -f tdbtorture tdbtool mktdb speed