hare

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

commit 87a1dec5bd77d010c79a56a51c76464bed124781
parent ae7bb8660ddadec491f9d0a85659afcd6cc9cf0f
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 19 Apr 2021 10:10:13 -0400

make: add haredoc to build

Diffstat:
MMakefile | 12+++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -32,6 +32,11 @@ harec_srcs=\ ./cmd/harec/main.ha \ ./cmd/harec/errors.ha +haredoc_srcs=\ + ./cmd/haredoc/main.ha \ + ./cmd/haredoc/errors.ha \ + ./cmd/haredoc/unparse.ha + $(HARECACHE)/hare.ssa: $(hare_srcs) $(hare_stdlib_deps) @printf 'HAREC\t$@\n' @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) \ @@ -65,6 +70,11 @@ $(TESTCACHE)/hare.ssa: $(hare_srcs) $(hare_testlib_deps) @printf 'HARE\t$@\n' @env HAREPATH=. ./.bin/hare build -o .bin/harec ./cmd/harec +.bin/haredoc: .bin/hare $(haredoc_srcs) + @mkdir -p .bin + @printf 'HARE\t$@\n' + @env HAREPATH=. ./.bin/hare build -o .bin/haredoc ./cmd/haredoc + docs/hare.1: docs/hare.scd docs: docs/hare.1 @@ -75,6 +85,6 @@ clean: check: .bin/hare-tests @./.bin/hare-tests -all: .bin/hare .bin/harec +all: .bin/hare .bin/harec .bin/haredoc .PHONY: all clean check