19 lines
323 B
Makefile
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
|