aboutsummaryrefslogtreecommitdiff
path: root/xP
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-29 16:39:26 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-30 03:24:13 +0200
commit86278c154c0e8f88f3df91298b4fcd40f8c7571b (patch)
treeda2aa0f4786337b7245dc931e56f72b144008839 /xP
parent941ee2f10c0c6d273d4d7bf591a48068141e2c56 (diff)
downloadxK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.tar.gz
xK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.tar.xz
xK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.zip
Clean up protocol code generators
Diffstat (limited to 'xP')
-rw-r--r--xP/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/xP/Makefile b/xP/Makefile
index c0198aa..6f3cdab 100644
--- a/xP/Makefile
+++ b/xP/Makefile
@@ -8,7 +8,8 @@ all: $(outputs) public/ircfmt.woff2
xP: xP.go proto.go
go build -o $@
proto.go: ../xC-gen-proto.awk ../xC-gen-proto-go.awk ../xC-proto
- $(AWK) -f ../xC-gen-proto.awk -f ../xC-gen-proto-go.awk ../xC-proto > $@
+ $(AWK) -f ../xC-gen-proto.awk -f ../xC-gen-proto-go.awk \
+ -v PrefixCamel=Relay ../xC-proto > $@
public/proto.js: ../xC-gen-proto.awk ../xC-gen-proto-js.awk ../xC-proto
$(AWK) -f ../xC-gen-proto.awk -f ../xC-gen-proto-js.awk ../xC-proto > $@
public/ircfmt.woff2: gen-ircfmt.awk