diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-22 13:24:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-22 13:24:30 +0100 |
commit | c4c9a9e58aa2c8f94396cc07d23eb6570fd4cd85 (patch) | |
tree | b961e9ae8ebeffdccbc48e7ead15c34906d25828 /Makefile | |
parent | 5eaba60dd9eaf584a9e09e90fc96743a658321e6 (diff) |
Reorganise repository in preparation of adding 'benchmarks'
More the currents trace to a full/ directory and introduce an empty
benchmark/ directory. I plan to add selected short traces to the
benchmark/ directory that will be useful for the casual benchmarker (or
for quick runs over large number of revisions). In addition to the
reorganisation, I've added a csi-trace utility that has the ability to
trim a trace after a certain period of time has elapsed (since it has to
draw the trace to an image surface in order to satisfy some internal
requirements, this is a reasonable method of trimming replay times).
Note csi-trace probably requires some patches currently in wip queues,
but that should not affect normal operations.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,13 +1,17 @@ NULL := -LZMA := $(wildcard *.lzma) -TRACES := $(LZMA:.lzma=.trace) +FULL_LZMA := $(wildcard full/*.lzma) +QUICK_LZMA := $(wildcard benchmark/*.lzma) +ALL_LZMA:= $(FULL_LZMA) $(QUICK_LZMA) +ALL_TRACES := $(ALL_LZMA:.lzma=.trace) -all: $(TRACES) +all: $(ALL_TRACES) clean: - rm -f $(TRACES) csi-bind + rm -f $(ALL_TRACES) csi-bind csi-trace %.trace: %.lzma csi-bind lzma -cd $< | ./csi-bind > $@ csi-bind: csi-bind.c - $(CC) $^ $(shell pkg-config cairo --cflags --libs) -lcairo-script-interpreter -o $@ + $(CC) $(CFLAGS) $(shell pkg-config cairo --cflags) $^ -lcairo-script-interpreter $(pkg-config cairo --libs) -o $@ +csi-trace: csi-trace.c + $(CC) $(CFLAGS) $(shell pkg-config cairo --cflags) $^ -lcairo-script-interpreter $(shell pkg-config cairo --libs) -o $@ |