summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
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 $@