two templates, allow args
This commit is contained in:
parent
d41219c8ed
commit
88c32c8071
1 changed files with 7 additions and 6 deletions
13
heptagon.mk
13
heptagon.mk
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue