hare

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

commit 6e570a22f208cd19d9165602593003fba01601c4
parent e310196c749ed183419d36214e42262703607838
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 27 Mar 2021 09:42:11 -0400

make: enumerate harec sources as dependencies

Diffstat:
MMakefile | 14+++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -28,6 +28,10 @@ hare_srcs=\ ./cmd/hare/schedule.ha \ ./cmd/hare/main.ha +harec_srcs=\ + ./cmd/harec/main.ha \ + ./cmd/harec/errors.ha + $(HARECACHE)/hare.ssa: $(hare_srcs) $(hare_stdlib_deps) @printf 'HAREC\t$@\n' @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) \ @@ -56,15 +60,15 @@ $(TESTCACHE)/hare.ssa: $(hare_srcs) $(hare_testlib_deps) @$(LD) -T $(rtscript) -o $@ \ $(TESTCACHE)/hare.o $(hare_testlib_deps) -docs/hare.1: docs/hare.scd - -docs: docs/hare.1 - -.bin/harec: .bin/hare +.bin/harec: .bin/hare $(harec_srcs) @mkdir -p .bin @printf 'HARE\t$@\n' @env HAREPATH=. ./.bin/hare build -o .bin/harec ./cmd/harec +docs/hare.1: docs/hare.scd + +docs: docs/hare.1 + clean: @rm -rf .cache .bin