From 86278c154c0e8f88f3df91298b4fcd40f8c7571b Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Thu, 29 Sep 2022 16:39:26 +0200 Subject: Clean up protocol code generators --- xP/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xP') 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 -- cgit v1.2.3-70-g09d2