commit d0361df6a419788a88d5b6a3bbf0bd70ba042cb1 parent 18fa794d2a12a83c96fe0f53aec076fc887d83fe Author: phoebos <ben@bvnf.space> Date: Sat, 28 Aug 2021 18:22:40 +0100 add Makefile Diffstat:
A | Makefile | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -0,0 +1,15 @@ +.POSIX: +BIN=gm +SRCS=gm.go gemtext.go + +.SUFFIXES: .go + +$(BIN): $(SRCS) + go build -o $(BIN) ./... + +clean: + rm -f $(BIN) + +tidy: + gofmt -w $(SRCS) + go mod tidy