X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftools%2FMakefile;h=49e13732cf950f5bdd49c9d77f1398aa4f021371;hp=7c459353a681e6bd1666c533a3977c71af17112a;hb=41391dd9a73e1aa8bb8193cf6335542c703f20e9;hpb=72c55b03e00085ce993be4a75debef69cb459606 diff --git a/ccan/tdb/tools/Makefile b/ccan/tdb/tools/Makefile index 7c459353..49e13732 100644 --- a/ccan/tdb/tools/Makefile +++ b/ccan/tdb/tools/Makefile @@ -1,8 +1,14 @@ LDLIBS:=-lccan -CFLAGS:=-I../../.. -Wall -g -pg -O3 +CFLAGS:=-I../../.. -Wall -O3 #-g -pg LDFLAGS:=-L../../.. -default: replay_trace tdbtorture +default: replay_trace tdbtorture tdbdump + +replay_trace: replay_trace.c keywords.c + $(LINK.c) $< $(LOADLIBES) $(LDLIBS) -o $@ + +keywords.c: keywords.gperf + gperf $< > $@ clean: - rm -f replay_trace tdbtorture *.o + rm -f replay_trace tdbtorture tdbdump *.o