summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-06 02:53:13 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-06 02:53:13 -0400
commitfac4329fdf658aa660884156f05b434d1f1147f9 (patch)
tree98ecf7dcb7764db78cce36e7d18d4896ae5ba86a /Makefile
parenteca8525e5811cad371e407507594fa95d8db98c1 (diff)
downloadgetwtxt-fac4329fdf658aa660884156f05b434d1f1147f9.tar.gz
updated makefile/deps v0.2.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b6c522c..df77b36 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,7 @@ _INSTDIR=$(PREFIX)
 BINDIR?=$(_INSTDIR)/getwtxt
 GOFLAGS?=
 
-GOSRC!=find . -name '*.go'
-GOSRC+=go.mod go.sum
-
-getwtxt: $(GOSRC)
+getwtxt: getwtxt.go go.mod go.sum
 	go build $(GOFLAGS) \
 		-o $@