two templates, allow args

This commit is contained in:
Mylloon 2024-10-22 13:21:44 +02:00
parent d41219c8ed
commit 88c32c8071
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -2,16 +2,17 @@ PASTE = xclip -o
CAT = bat -pp
ENTRY = test
LIMIT = 5
ENTRY ?= test
LIMIT ?= 5
all: main
all: test
main: clear pastefile eval
# Possible usage: make testn ENTRY=node0
test: pastefile eval
clear:
clear
# Usage: make testn LIMIT=10
testn: pastefile evaln
pastefile:
$(PASTE) > $(ENTRY).ept