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\!
 
re>06848dc3 ^
240394a4 ^
f027adc0 ^
08f08fb9 ^
654af129 ^
08f08fb9 ^
d8084b41 ^

99400080 ^
08f08fb9 ^

654af129 ^

0da832e8 ^
d8084b41 ^
cba63cf3 ^
b4250dbc ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52