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

View file

@ -1,7 +1,7 @@
PASTE = xclip -o
CAT = bat -pp
FILE ?= test
ENTRY ?= test
LIMIT ?= 5
@ -15,14 +15,14 @@ test: pastefile eval
testn: pastefile evaln
pastefile:
$(PASTE) > $(ENTRY).ept
$(PASTE) > $(FILE).ept
eval:
hept -ts p $(ENTRY).ept
hept -ts $(ENTRY) $(FILE).ept
evaln:
hept -ts p -m $(LIMIT) $(ENTRY).ept
hept -ts p -m $(LIMIT) $(FILE).ept
print:
heptc -i -target c $(ENTRY).ept
$(CAT) $(ENTRY)_c/$(ENTRY).c
heptc -i -target c $(FILE).ept
$(CAT) $(FILE)_c/$(FILE).c