kojote/Makefile
2024-12-05 12:50:29 -03:00

19 lines
323 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
check:
@env HAREPATH=${HAREPATH} hare test -T +test
build:
@env HAREPATH=${HAREPATH} hare build cmd/kj
clean:
rm -f kj