]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/tools/Makefile
tdb2: try to fit transactions in existing space before we expand.
[ccan] / ccan / tdb2 / tools / Makefile
index 373f1eeb34dec5011db05f4309b16f5ccb093788..e2ad888390a79d9e69cc84eda902055fcd494517 100644 (file)
@@ -1,8 +1,14 @@
-LDLIBS:=../../tdb2.o ../../hash.o ../../tally.o
-CFLAGS:=-I../../.. -Wall -g #-g -O3 #-g -pg
+OBJS:=../../tdb2.o ../../hash.o ../../tally.o
+CFLAGS:=-I../../.. -Wall -g -O3 #-g -pg
 LDFLAGS:=-L../../..
 
-default: tdbtorture tdbtool mktdb
+default: tdbtorture tdbtool mktdb speed growtdb-bench
+
+tdbtorture: tdbtorture.c $(OBJS)
+tdbtool: tdbtool.c $(OBJS)
+mktdb: mktdb.c $(OBJS)
+speed: speed.c $(OBJS)
+growtdb-bench: growtdb-bench.c $(OBJS)
 
 clean:
-       rm -f tdbtorture tdbtool mktdb
+       rm -f tdbtorture tdbtool mktdb speed growtdb-bench