Lobo Torres
7506679f54
this should be the final thing to make [[tokstr]] print syntactically-valid tokens in all cases
23 lines
375 B
Makefile
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}
|