task.mk/docs/examples/Makefile

19 lines
334 B
Makefile
Raw Normal View History

2022-09-18 10:00:53 -05:00
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 $< $@
2022-09-21 00:11:38 -05:00
check/demo.cast: COLS = 48
2022-09-18 10:00:53 -05:00
check/demo.cast: ROWS = 12
clean:
rm -rf $(CASTS)
.PHONY:all clean