X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Ftools%2FMakefile;h=e2ad888390a79d9e69cc84eda902055fcd494517;hb=a94286219597d8123188aaff0aaa55dba5104a05;hp=373f1eeb34dec5011db05f4309b16f5ccb093788;hpb=81defbc32d0c3b0aa3f6e71405a3cf1f76afec45;p=ccan diff --git a/ccan/tdb2/tools/Makefile b/ccan/tdb2/tools/Makefile index 373f1eeb..e2ad8883 100644 --- a/ccan/tdb2/tools/Makefile +++ b/ccan/tdb2/tools/Makefile @@ -1,8 +1,14 @@ -LDLIBS:=../../tdb2.o ../../hash.o ../../tally.o -CFLAGS:=-I../../.. -Wall -g #-g -O3 #-g -pg +OBJS:=../../tdb2.o ../../hash.o ../../tally.o +CFLAGS:=-I../../.. -Wall -g -O3 #-g -pg LDFLAGS:=-L../../.. -default: tdbtorture tdbtool mktdb +default: tdbtorture tdbtool mktdb speed growtdb-bench + +tdbtorture: tdbtorture.c $(OBJS) +tdbtool: tdbtool.c $(OBJS) +mktdb: mktdb.c $(OBJS) +speed: speed.c $(OBJS) +growtdb-bench: growtdb-bench.c $(OBJS) clean: - rm -f tdbtorture tdbtool mktdb + rm -f tdbtorture tdbtool mktdb speed growtdb-bench