From fdba839b5d353eb0c06ede0ee40e555501249d6a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 15 Nov 2010 17:37:03 +1030 Subject: [PATCH 1/1] tdb2: clean up makefile for tools --- ccan/tdb2/tools/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ccan/tdb2/tools/Makefile b/ccan/tdb2/tools/Makefile index 373f1eeb..c16f27bf 100644 --- a/ccan/tdb2/tools/Makefile +++ b/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 -- 2.39.2