From: Rusty Russell Date: Mon, 15 Nov 2010 07:07:03 +0000 (+1030) Subject: tdb2: clean up makefile for tools X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=fdba839b5d353eb0c06ede0ee40e555501249d6a;hp=b371060fb7e2aa6a5990413cabe5fcc5ba5cc84c;ds=sidebyside tdb2: clean up makefile for tools --- 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