From 5863040f9323e210df0908333c6e85d63af000c0 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Mon, 26 Sep 2022 12:39:26 +0200 Subject: Update documentation, clean up --- xP/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xP/Makefile') diff --git a/xP/Makefile b/xP/Makefile index 34de55a..c0198aa 100644 --- a/xP/Makefile +++ b/xP/Makefile @@ -1,5 +1,6 @@ .POSIX: .SUFFIXES: +AWK = env LC_ALL=C awk outputs = xP proto.go public/proto.js public/mithril.js all: $(outputs) public/ircfmt.woff2 @@ -7,11 +8,11 @@ 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 ../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 > $@ + $(AWK) -f ../xC-gen-proto.awk -f ../xC-gen-proto-js.awk ../xC-proto > $@ public/ircfmt.woff2: gen-ircfmt.awk - awk -v Output=$@ -f gen-ircfmt.awk + $(AWK) -v Output=$@ -f gen-ircfmt.awk public/mithril.js: curl -Lo $@ https://unpkg.com/mithril/mithril.js clean: -- cgit v1.2.3-70-g09d2