From 078fb79490d099fe08fc96671cbdab735fdbfaef Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 16 Feb 2024 09:37:54 +0000 Subject: Add make rule for wayland linux version --- cmd/rescribe/makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile index 9677fce..0cd7d7b 100644 --- a/cmd/rescribe/makefile +++ b/cmd/rescribe/makefile @@ -21,13 +21,18 @@ OSXCROSSBIN=$(HOME)/src/osxcross/target/bin EMBEDS=embed_darwin.go embed_darwin_amd64.go embed_darwin_arm64.go embed_linux.go embed_windows.go embed_other.go GODEPS=gui.go main.go $(EMBEDS) -all: dist/linux/rescribe dist/darwin/rescribe.zip dist/windows/rescribe.exe +all: dist/linux/rescribe dist/linux/wayland/rescribe dist/darwin/rescribe.zip dist/windows/rescribe.exe dist/linux/rescribe: $(GODEPS) go generate mkdir -p dist/linux GOOS=linux GOARCH=amd64 go build -tags embed -o $@ . +dist/linux/wayland/rescribe: $(GODEPS) + go generate + mkdir -p dist/linux + GOOS=linux GOARCH=amd64 go build -tags embed,wayland -o $@ . + build/darwin_amd64/rescribe: $(GODEPS) go generate mkdir -p build/darwin_amd64 -- cgit v1.2.1-24-ge1ad