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 CAT = bat -pp
ENTRY = test ENTRY ?= test
LIMIT = 5 LIMIT ?= 5
all: main all: test
main: clear pastefile eval # Possible usage: make testn ENTRY=node0
test: pastefile eval
clear: # Usage: make testn LIMIT=10
clear testn: pastefile evaln
pastefile: pastefile:
$(PASTE) > $(ENTRY).ept $(PASTE) > $(ENTRY).ept