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