16 lines
453 B
Makefile
16 lines
453 B
Makefile
icon_path = ./res/appicon-500.png
|
|
app_name = Supersonic
|
|
|
|
build:
|
|
go build
|
|
|
|
package_macos:
|
|
fyne package -os darwin -name $(app_name) -icon $(icon_path)
|
|
dylibbundler -od -b -x ./Supersonic.app/Contents/MacOS/supersonic -d ./Supersonic.app/Contents/Frameworks/ -p @executable_path/../Frameworks/
|
|
|
|
package_windows:
|
|
fyne package -os windows -name $(app_name) -icon $(icon_path)
|
|
|
|
package_linux:
|
|
fyne package -os linux -name $(app_name) -icon $(icon_path)
|