kojote/Makefile

20 lines
323 B
Makefile
Raw Normal View History

.POSIX:
.SUFFIXES:
2024-12-05 15:50:29 +00:00
PREFIX=/usr/local
SRCDIR=${PREFIX}/src
HARESRCDIR=${SRCDIR}/hare
HARE=hare
HAREPATH=vendor/hare-unicode:${HARESRCDIR}/stdlib:${HARESRCDIR}/third-party
2024-12-04 16:29:11 +00:00
2024-12-05 15:50:29 +00:00
.PHONY: check build clean
check:
@env HAREPATH=${HAREPATH} hare test -T +test
2024-12-05 15:50:29 +00:00
build:
2024-12-05 15:50:29 +00:00
@env HAREPATH=${HAREPATH} hare build cmd/kj
clean:
rm -f kj