add HAREPATH to makefile for vendored deps
This commit is contained in:
parent
c70ec9f648
commit
63fe8290a5
1 changed files with 13 additions and 3 deletions
16
Makefile
16
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue