commit dea1ec279276f0b9943633d0b9720c49ffaba72d
parent f6c675a8fef733d202578c6d6f3a45765de7ef4a
Author: phoebos <ben@bvnf.space>
Date: Sat, 28 Aug 2021 18:43:19 +0100
tidy Makefile
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,9 +1,10 @@
.POSIX:
+.PHONY: clean tidy
+.SUFFIXES: .go
+
BIN=gm
SRCS=gm.go gemtext.go
-.SUFFIXES: .go
-
$(BIN): $(SRCS)
go build -o $(BIN) ./...
@@ -13,3 +14,4 @@ clean:
tidy:
gofmt -w $(SRCS)
go mod tidy
+ sed -i 's/\t/ /g' $(SRCS)