-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (30 loc) · 1.28 KB
/
Makefile
File metadata and controls
35 lines (30 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
DYNAMIC_OBJS = examples/binary-dynamic.html examples/figlet-dynamic.html \
examples/gcc-dynamic.html examples/hello-dynamic.html \
examples/htop-dynamic.html examples/mc-dynamic.html
STATIC_OBJS = examples/binary-static.html examples/figlet-static.html \
examples/gcc-static.html examples/hello-static.html \
examples/htop-static.html examples/mc-static.html
DYN_DEP = src/TermRecord templates/dynamic.jinja2 \
templates/base.jinja2
STATIC_DEP = src/TermRecord templates/static.jinja2 \
templates/base.jinja2
default: dynamic static ttyrec
dynamic: ${DYNAMIC_OBJS}
static: ${STATIC_OBJS}
examples/%-dynamic.html: ${DYN_DEP} examples/%.time examples/%.script
bin/TermRecord -s examples/${*F}.script -t examples/${*F}.time \
-m termrecord/templates/dynamic.jinja2 \
-d 30 80 \
-o examples/${*F}-dynamic.html
examples/%-static.html: ${STATIC_DEP} examples/%.time examples/%.script
bin/TermRecord -s examples/${*F}.script -t examples/${*F}.time \
-m termrecord/templates/static.jinja2 \
-d 30 80 \
-o examples/${*F}-static.html
ttyrec:
bin/TermRecord -s examples/test.ttyrec -b ttyrec \
-m termrecord/templates/static.jinja2 \
-d 30 500 \
-o examples/ttyrec-static.html
clean:
rm ${DYNAMIC_OBJS} ${STATIC_OBJS}