aboutsummaryrefslogtreecommitdiff
path: root/xS/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xS/Makefile')
-rw-r--r--xS/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/xS/Makefile b/xS/Makefile
index 57927fa..770be13 100644
--- a/xS/Makefile
+++ b/xS/Makefile
@@ -5,7 +5,7 @@ AWK = env LC_ALL=C awk
outputs = xS xS-replies.go xS.1
all: $(outputs)
-xS: xS.go ../xK-version xS-replies.go
+xS: xS.go xS-replies.go ../xK-version
go build -ldflags "-X 'main.projectVersion=$$(cat ../xK-version)'" -o $@
xS-replies.go: xS-gen-replies.awk xS-replies
$(AWK) -f xS-gen-replies.awk xS-replies > $@