mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 18:00:44 -06:00
19 lines
334 B
Makefile
19 lines
334 B
Makefile
|
MAKEFLAGS += --no-print-directory
|
||
|
COLS ?= 60
|
||
|
ROWS ?= 20
|
||
|
EXAMPLES := check embedded
|
||
|
CASTS := $(addsuffix /demo.cast, $(EXAMPLES))
|
||
|
|
||
|
all: $(CASTS)
|
||
|
|
||
|
%/demo.cast: %/record.sh
|
||
|
asciinema rec --cols $(COLS) --rows $(ROWS) --overwrite -c $< $@
|
||
|
|
||
|
check/demo.cast: COLS = 45
|
||
|
check/demo.cast: ROWS = 12
|
||
|
|
||
|
clean:
|
||
|
rm -rf $(CASTS)
|
||
|
|
||
|
.PHONY:all clean
|