summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2024-02-16 09:37:54 +0000
committerNick White <git@njw.name>2024-02-16 09:37:54 +0000
commit078fb79490d099fe08fc96671cbdab735fdbfaef (patch)
treeffa204a38a99afefc40509e9e72c5797cc229580 /cmd
parent4e06a0bce9b1f31858ddd951c236246dfb0ae56a (diff)
Add make rule for wayland linux version
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rescribe/makefile7
1 files changed, 6 insertions, 1 deletions
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