X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftools%2FMakefile;h=19bb731e8789730f3bb8eace7c3d88c31b19ccba;hp=373f1eeb34dec5011db05f4309b16f5ccb093788;hb=a42bba8ec446284256a7c9146ba3525404de474c;hpb=81defbc32d0c3b0aa3f6e71405a3cf1f76afec45 diff --git a/ccan/tdb2/tools/Makefile b/ccan/tdb2/tools/Makefile index 373f1eeb..19bb731e 100644 --- a/ccan/tdb2/tools/Makefile +++ b/ccan/tdb2/tools/Makefile @@ -1,8 +1,13 @@ -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 + +tdbtorture: tdbtorture.c $(OBJS) +tdbtool: tdbtool.c $(OBJS) +mktdb: mktdb.c $(OBJS) +speed: speed.c $(OBJS) clean: - rm -f tdbtorture tdbtool mktdb + rm -f tdbtorture tdbtool mktdb speed