hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 68c4fcf33eb0fcb99bc7041a059fd1c7270d85ea
parent 55af6522a6b8c8adf27e296b19d2e42ac7fe5dee
Author: Nixon Enraght-Moony <nixon.emoony@gmail.com>
Date:   Mon, 25 Apr 2022 11:49:26 +0100

Makefile: propagate HAREC and QBE variable

This fixes builds when these arn't in $PATH, but
specified in config.mk

Signed-off-by: Nixon Enraght-Moony <nixon.emoony@gmail.com>

Diffstat:
MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -74,12 +74,12 @@ $(TESTCACHE)/hare.ssa: $(hare_srcs) $(testlib_deps_any) $(testlib_deps_$(PLATFOR .bin/harec2: .bin/hare $(harec_srcs) @mkdir -p .bin @printf 'HARE\t$@\n' - @env HAREPATH=. ./.bin/hare build -o .bin/harec2 ./cmd/harec + @env HAREPATH=. HAREC=$(HAREC) QBE=$(QBE) ./.bin/hare build -o .bin/harec2 ./cmd/harec .bin/haredoc: .bin/hare $(haredoc_srcs) @mkdir -p .bin @printf 'HARE\t$@\n' - @env HAREPATH=. ./.bin/hare build \ + @env HAREPATH=. HAREC=$(HAREC) QBE=$(QBE) ./.bin/hare build \ -D HAREPATH:str='"'"$(HAREPATH)"'"' \ -o .bin/haredoc ./cmd/haredoc