add HAREPATH to makefile for vendored deps

This commit is contained in:
Lobo Torres 2024-12-04 14:55:59 -03:00
parent c70ec9f648
commit 63fe8290a5

View file

@ -1,4 +1,14 @@
.PHONY: test
.POSIX:
.SUFFIXES:
PREFIX=/usr/local
SRCDIR=${PREFIX}/src
HARESRCDIR=${SRCDIR}/hare
HARE=hare
HAREPATH=vendor/hare-unicode:${HARESRCDIR}/stdlib:${HARESRCDIR}/third-party
test:
@hare test
.PHONY: check build
check:
@env HAREPATH=${HAREPATH} hare test
build:
@env HAREPATH=${HAREPATH} hare build