Browse Source

tdb2: clean up makefile for tools

Rusty Russell 15 years ago
parent
commit
fdba839b5d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      ccan/tdb2/tools/Makefile

+ 5 - 1
ccan/tdb2/tools/Makefile

@@ -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