From 139a75b7d7bf6941176f56244d44ed5a5383ebf4 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 14 Sep 2024 07:32:44 +0200 Subject: WIP: xA --- xA/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 xA/Makefile (limited to 'xA/Makefile') diff --git a/xA/Makefile b/xA/Makefile new file mode 100644 index 0000000..070f5ad --- /dev/null +++ b/xA/Makefile @@ -0,0 +1,26 @@ +.POSIX: +.SUFFIXES: +AWK = env LC_ALL=C awk + +tools = ../liberty/tools +outputs = FyneApp.toml xA proto.go +all: $(outputs) + +FyneApp.toml: ../xK-version + printf "\ + [Details]\n\ + Name = 'xA'\n\ + ID = 'name.janouch.xA'\n\ + Version = '$$(cat ../xK-version)'\n\ + Build = 1\n\ + \n\ + [LinuxAndBSD]\n\ + GenericName = 'IRC Client'\n\ + Categories = ['Network', 'Chat', 'IRCClient']\n" > $@ +xA: xA.go proto.go ../xK-version + go build -ldflags "-X 'main.projectVersion=$$(cat ../xK-version)'" -o $@ +proto.go: $(tools)/lxdrgen.awk $(tools)/lxdrgen-go.awk ../xC.lxdr + $(AWK) -f $(tools)/lxdrgen.awk -f $(tools)/lxdrgen-go.awk \ + -v PrefixCamel=Relay ../xC.lxdr > $@ +clean: + rm -f $(outputs) -- cgit v1.2.3-70-g09d2