summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-09-27 15:05:15 -0300
committerEuAndreh <eu@euandre.org>2024-09-27 15:06:15 -0300
commit6dc71cf0163fc1509b1179144a64a73946761a80 (patch)
tree4ddbb10495fcdccbe8593c3b501529824e5567c5 /Makefile
parentsrc/gobang.go: Increase sourceInfoSkip from 3 to 4 (diff)
downloadgobang-6dc71cf0163fc1509b1179144a64a73946761a80.tar.gz
gobang-6dc71cf0163fc1509b1179144a64a73946761a80.tar.xz
Makefile: make "vesion" public and a `const`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c5cd3aa..4adcdce 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ tests/main.bin: tests/main.a
go tool link $(GOLDFLAGS) -o $@ -L $(@D) --extldflags '$(LDLIBS)' $*.a
src/version.go: Makefile
- echo 'package $(NAME); var version = "$(VERSION)"' > $@
+ echo 'package $(NAME); const Version = "$(VERSION)"' > $@