blob: 90142fc9a154c3d61a8c972670dc3b1a33d79809 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
NULL :=
FULL_LZMA := $(wildcard full/*.lzma)
QUICK_LZMA := $(wildcard benchmark/*.lzma)
ALL_LZMA:= $(FULL_LZMA) $(QUICK_LZMA)
ALL_TRACES := $(ALL_LZMA:.lzma=.trace)
all: $(ALL_TRACES)
clean:
rm -f $(ALL_TRACES) csi-bind csi-trace
%.trace: %.lzma csi-bind
lzma -cd $< | ./csi-bind > $@
csi-bind: csi-bind.c
$(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 $@
|