kojote/Makefile

24 lines
375 B
Makefile
Raw Permalink 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
.PHONY: check build clean print-harepath
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
print-harepath:
@echo ${HAREPATH}