diff --git a/Makefile b/Makefile index 13f2fad..22f3d18 100644 --- a/Makefile +++ b/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