kojote/Makefile

14 lines
281 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
check:
@env HAREPATH=${HAREPATH} hare test
build:
@env HAREPATH=${HAREPATH} hare build