]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/tools/Makefile
tdb2: clean up makefile for tools
[ccan] / ccan / tdb2 / tools / Makefile
index 373f1eeb34dec5011db05f4309b16f5ccb093788..c16f27bf79bf59efa0a18ed7ca98d6fc405a31f5 100644 (file)
@@ -1,8 +1,12 @@
-LDLIBS:=../../tdb2.o ../../hash.o ../../tally.o
+OBJS:=../../tdb2.o ../../hash.o ../../tally.o
 CFLAGS:=-I../../.. -Wall -g #-g -O3 #-g -pg
 LDFLAGS:=-L../../..
 
 default: tdbtorture tdbtool mktdb
 
+tdbtorture: tdbtorture.c $(OBJS)
+tdbtool: tdbtool.c $(OBJS)
+mktdb: mktdb.c $(OBJS)
+
 clean:
        rm -f tdbtorture tdbtool mktdb