about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-14 00:12:25 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-14 00:12:33 -0400
commit1e0e919565dbd23e423fe9055a755a55bf971efb (patch)
tree67726213f05a039daf7022779740cde24dd685ba /Makefile
parentdf8fa27ffa596e02d0560aa9238f194911c03e56 (diff)
downloadgetwtxt-1e0e919565dbd23e423fe9055a755a55bf971efb.tar.gz
updated config comments, format of makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e781070..ee11e92 100644
--- a/Makefile
+++ b/Makefile
@@ -2,15 +2,13 @@ PREFIX?=/usr/local
 _INSTDIR=$(PREFIX)
 BINDIR?=$(_INSTDIR)/getwtxt
 VERSION?=$(shell git tag | grep ^v | sort -V | tail -n 1)
-GOFLAGS?=-tags netgo \
-				 -ldflags '-X github.com/getwtxt/getwtxt/svc.Vers=${VERSION} -extldflags "-static"'
+GOFLAGS?=-tags netgo -ldflags '-X github.com/getwtxt/getwtxt/svc.Vers=${VERSION} -extldflags "-static"'
 
 getwtxt: getwtxt.go go.mod go.sum
 	@echo
 	@echo Building getwtxt. This may take a minute or two.
 	@mkdir -p logs
-	go build $(GOFLAGS) \
-		-o $@
+	go build $(GOFLAGS) -o $@
 	@echo
 	@echo ...Done\!