diff options
author | Nick White <git@njw.name> | 2022-02-09 20:18:51 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2022-02-09 20:18:51 +0000 |
commit | ad48f7c1fcfb31a69fa2d6d8065cceb1a6c46ee0 (patch) | |
tree | 8b79a0e7b4de9d38f53d28540531068eb1054f53 /cmd | |
parent | b539af4ca52c94db8dfa8a1d7e91a2400ae03f87 (diff) |
rescribe: ensure go generate is called when needed in makefile, and remove unneeded rules
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rescribe/makefile | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile index 21a59fb..c30f429 100644 --- a/cmd/rescribe/makefile +++ b/cmd/rescribe/makefile @@ -42,25 +42,13 @@ dist/darwin_universal/rescribe: dist/darwin_amd64/rescribe dist/darwin_arm64/res mkdir -p dist/darwin_universal PATH="$(PATH):$(OSXCROSSBIN)" lipo -create dist/darwin_amd64/rescribe dist/darwin_arm64/rescribe -output $@ -# TODO: remove this, once universal is confirmed working -dist/darwin_amd64/Rescribe.app: dist/darwin_amd64/rescribe - go install fyne.io/fyne/v2/cmd/fyne@latest - fyne package --name Rescribe --exe dist/darwin_amd64/rescribe --os darwin --icon icon.png - mv Rescribe.app $@ - -# TODO: remove this, once universal is confirmed working -dist/darwin_arm64/Rescribe.app: dist/darwin_arm64/rescribe - go install fyne.io/fyne/v2/cmd/fyne@latest - fyne package --name Rescribe --exe dist/darwin_arm64/rescribe --os darwin --icon icon.png - mv Rescribe.app $@ - dist/darwin_universal/Rescribe.app: dist/darwin_universal/rescribe go install fyne.io/fyne/v2/cmd/fyne@latest fyne package --name Rescribe --exe dist/darwin_universal/rescribe --os darwin --icon icon.png mv Rescribe.app $@ dist/windows/rescribe-bin.exe: $(GODEPS) - #go generate + go generate mkdir -p dist/windows CC="x86_64-w64-mingw32-gcc" CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -o $@ . |