]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/tools/Makefile
tdb2: rename the tools to tdb2torture, tdb2tool and mktdb2
[ccan] / ccan / tdb2 / tools / Makefile
index 373f1eeb34dec5011db05f4309b16f5ccb093788..d388e51b555e63d041dda9475bd4f94d5b51f90d 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: tdb2torture tdb2tool mktdb2 speed growtdb-bench
+
+tdb2torture: tdb2torture.c $(OBJS)
+tdb2tool: tdb2tool.c $(OBJS)
+mktdb2: mktdb2.c $(OBJS)
+speed: speed.c $(OBJS)
+growtdb-bench: growtdb-bench.c $(OBJS)
 
 clean:
-       rm -f tdbtorture tdbtool mktdb
+       rm -f tdb2torture tdb2tool mktdb2 speed growtdb-bench