commit 830dead3769cf6c3a2c37e2700818cb4666d875f Author: thing1 <thing1@seacrossedlovers.xyz> Date: Tue, 27 Jan 2026 17:50:38 +0000 init commit Diffstat:
| A | .gitignore | | | 1 | + |
| A | Makefile | | | 27 | +++++++++++++++++++++++++++ |
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +bf diff --git a/Makefile b/Makefile @@ -0,0 +1,27 @@ + +.POSIX: +.SUFFIXES: +HARE=hare +HAREFLAGS= + +DESTDIR= +PREFIX=/usr/local +BINDIR=$(PREFIX)/bin + +HARE_SOURCES != find . -name '*.ha' + +all: bf + +clean: + rm -f bf + +install: + install -Dm755 bf $(DESTDIR)$(BINDIR)/ + +check: + $(HARE) test $(HAREFLAGS) + +.PHONY: all check clean install uninstall + +bf: $(HARE_SOURCES) + $(HARE) build $(HAREFLAGS) -o $@ cmd/$@/