Skip to content

Commit

Permalink
update makefile so it generates x86 & x64 binaries
Browse files Browse the repository at this point in the history
roffe committed Feb 14, 2023
1 parent b728c8a commit 9ba3f09
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -7,8 +7,11 @@ test:
gui:
rm -f avr/firmware.hex
cp firmware/build/firmware.ino.hex avr/firmware.hex
GOARCH=amd64 fyne package --target windows --icon Icon.png --release --executable Saab_CIM_Tool_amd64.exe --name Saab_CIM_Tool_amd64
GOARCH=amd64 fyne package --target windows --icon Icon.png --release --executable Saab_CIM_Tool_x64.exe --name Saab_CIM_Tool_x64
"/c/Program Files/WinRAR/WinRAR.exe" a -afzip Saab_CIM_Tool_x64.zip Saab_CIM_Tool_x64.exe
GOARCH=386 fyne package --target windows --icon Icon.png --release --executable Saab_CIM_Tool_x86.exe --name Saab_CIM_Tool_x86
"/c/Program Files/WinRAR/WinRAR.exe" a -afzip Saab_CIM_Tool_x86.zip Saab_CIM_Tool_x86.exe

# --appVersion $$(git describe --tags `git rev-list --tags --max-count=1`|cut -d"v" -f2)


0 comments on commit 9ba3f09

Please sign in to comment.