diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-09-29 16:39:26 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-09-30 03:24:13 +0200 |
commit | 86278c154c0e8f88f3df91298b4fcd40f8c7571b (patch) | |
tree | da2aa0f4786337b7245dc931e56f72b144008839 /xP/Makefile | |
parent | 941ee2f10c0c6d273d4d7bf591a48068141e2c56 (diff) | |
download | xK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.tar.gz xK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.tar.xz xK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.zip |
Clean up protocol code generators
Diffstat (limited to 'xP/Makefile')
-rw-r--r-- | xP/Makefile | 3 |
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 |