Skip to content

Commit

Permalink
[feature]<doc>: add cross compile ✨✨
Browse files Browse the repository at this point in the history
  • Loading branch information
o98k-ok committed Sep 29, 2024
1 parent ea5f84b commit 0c5a915
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ all: build
build:
mkdir -p dist
go build -o dist/bluetooth main.go
CCO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -o dist/bluetooth_arm main.go
CCO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -o dist/bluetooth_amd main.go
makefat ./dist/bluetooth ./dist/bluetooth_*
rm -rf ./dist/bluetooth_*
cp -r icons dist/icons
cp blueutil dist/blueutil
cp grid.sh dist/grid.sh
Expand Down

0 comments on commit 0c5a915

Please sign in to comment.