kojote/Makefile
Lobo Torres 7506679f54 lex: tokstr now prints escaped strings
this should be the final thing to make [[tokstr]] print syntactically-valid
tokens in all cases
2024-12-06 13:56:26 -03:00

23 lines
375 B
Makefile

.POSIX:
.SUFFIXES:
PREFIX=/usr/local
SRCDIR=${PREFIX}/src
HARESRCDIR=${SRCDIR}/hare
HARE=hare
HAREPATH=vendor/hare-unicode:${HARESRCDIR}/stdlib:${HARESRCDIR}/third-party
.PHONY: check build clean print-harepath
check:
@env HAREPATH=${HAREPATH} hare test -T +test
build:
@env HAREPATH=${HAREPATH} hare build cmd/kj
clean:
rm -f kj
print-harepath:
@echo ${HAREPATH}