]> git.ozlabs.org Git - ccan/blobdiff - ccan/ntdb/tools/Makefile
ntdb: next-generation trivial key-value database
[ccan] / ccan / ntdb / tools / Makefile
diff --git a/ccan/ntdb/tools/Makefile b/ccan/ntdb/tools/Makefile
new file mode 100644 (file)
index 0000000..087c256
--- /dev/null
@@ -0,0 +1,16 @@
+OBJS:=../../ntdb.o ../../hash.o ../../tally.o
+CFLAGS:=-I../../.. -I.. -Wall -g -O3 #-g -pg
+LDFLAGS:=-L../../..
+
+default: ntdbtorture ntdbtool ntdbdump ntdbrestore mkntdb speed growtdb-bench
+
+ntdbdump: ntdbdump.c $(OBJS)
+ntdbrestore: ntdbrestore.c $(OBJS)
+ntdbtorture: ntdbtorture.c $(OBJS)
+ntdbtool: ntdbtool.c $(OBJS)
+mkntdb: mkntdb.c $(OBJS)
+speed: speed.c $(OBJS)
+growtdb-bench: growtdb-bench.c $(OBJS)
+
+clean:
+       rm -f ntdbtorture ntdbdump ntdbrestore ntdbtool mkntdb speed growtdb-bench