2020-07-27 20:43:58 +00:00
|
|
|
111MODULE = on
|
|
|
|
export GO111MODULE
|
|
|
|
|
2022-08-05 00:39:46 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf mobileNebula.aar MobileNebula.xcframework
|
|
|
|
|
2021-06-08 15:10:21 +00:00
|
|
|
mobileNebula.aar: *.go go.sum
|
2022-08-05 00:39:46 +00:00
|
|
|
go get -d golang.org/x/mobile/cmd/gomobile
|
2024-10-08 16:33:06 +00:00
|
|
|
gomobile bind -trimpath -v --target=android -androidapi 26
|
2024-09-30 17:57:12 +00:00
|
|
|
gomobile bind -trimpath -v --target=android -androidapi=26
|
2020-07-27 20:43:58 +00:00
|
|
|
|
2022-08-05 00:39:46 +00:00
|
|
|
MobileNebula.xcframework: *.go go.sum
|
|
|
|
go get -d golang.org/x/mobile/cmd/gomobile
|
|
|
|
gomobile bind -trimpath -v -target=ios
|
2020-07-27 20:43:58 +00:00
|
|
|
|
|
|
|
.DEFAULT_GOAL := mobileNebula.aar
|
|
|
|
|
2022-08-05 00:39:46 +00:00
|
|
|
.PHONY: clean
|
2020-07-27 20:43:58 +00:00
|
|
|
all: mobileNebula.aar MobileNebula.framework
|