@@ -8,48 +8,48 @@ GOFILES=*.go
88
99PLATFORM_LIST = \
1010 linux-amd64 \
11- linux-arm64
11+ # linux-arm64
1212
1313WINDOWS_ARCH_LIST = \
1414 windows-amd64 \
1515 windows-arm64
1616
1717linux-amd64 :
18- GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build --ldflags=" -s -w" -v -x -a -o $(BINDIR ) /$(NAME ) -$@ $(GOFILES )
18+ GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build --ldflags=" -s -w" -v -x -a -o $(BINDIR ) /$(NAME ) -$( VERSION ) - $ @ $(GOFILES )
1919
2020linux-arm64 :
21- GOOS=linux GOARCH=arm64 CGO_ENABLED=1 go build --ldflags=" -s -w" -v -x -a -o $(BINDIR ) /$(NAME ) -$@ $(GOFILES )
21+ GOOS=linux GOARCH=arm64 CGO_ENABLED=1 go build --ldflags=" -s -w" -v -x -a -o $(BINDIR ) /$(NAME ) -$( VERSION ) - $ @ $(GOFILES )
2222
2323darwin-amd64 :
24- GOOS=darwin GOARCH=amd64 $(GOBUILD ) -o $(BINDIR ) /$(NAME ) -$@ $(GOFILES )
24+ GOOS=darwin GOARCH=amd64 $(GOBUILD ) -o $(BINDIR ) /$(NAME ) -$( VERSION ) - $ @ $(GOFILES )
2525
2626darwin-arm64 :
27- GOOS=darwin GOARCH=arm64 $(GOBUILD ) -o $(BINDIR ) /$(NAME ) -$@ $(GOFILES )
27+ GOOS=darwin GOARCH=arm64 $(GOBUILD ) -o $(BINDIR ) /$(NAME ) -$( VERSION ) - $ @ $(GOFILES )
2828
2929# https://github.com/tc-hib/go-winres
3030windows-amd64 :
3131 GOOS=windows GOARCH=amd64 go-winres make --in winres/winres.json --out winres/rsrc
32- GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags=" -s -w -H windowsgui" -o $(BINDIR ) /$(NAME ) -$@ .exe $(GOFILES )
32+ GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags=" -s -w -H windowsgui" -o $(BINDIR ) /$(NAME ) -$( VERSION ) - $ @ .exe $(GOFILES )
3333
3434windows-arm64 :
3535 GOOS=windows GOARCH=arm64 go-winres make --in winres/winres.json --out winres/rsrc
36- GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -ldflags=" -s -w -H windowsgui" -o $(BINDIR ) /$(NAME ) -$@ .exe $(GOFILES )
36+ GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -ldflags=" -s -w -H windowsgui" -o $(BINDIR ) /$(NAME ) -$( VERSION ) - $ @ .exe $(GOFILES )
3737
3838# go install gioui.org/cmd/gogio@latest
3939android :
40- gogio -x -work -target android -minsdk 33 -version $(VERSION ) .3 -signkey build/sign.keystore -signpass android -appid gost.plus -o $(BINDIR ) /$(NAME ) -$(VERSION ) .aab .
40+ gogio -x -work -target android -minsdk 22 -version $(VERSION ) .7 -name GOST+ -signkey build/sign.keystore -signpass android -appid gost.plus -o $(BINDIR ) /$(NAME ) -$(VERSION ) .aab .
4141
4242gz_releases =$(addsuffix .gz, $(PLATFORM_LIST ) )
4343zip_releases =$(addsuffix .zip, $(WINDOWS_ARCH_LIST ) )
4444
4545$(gz_releases ) : % .gz : %
46- chmod +x $(BINDIR ) /$(NAME ) -$(basename $@ )
47- gzip -f -S - $( VERSION ) .gz $(BINDIR ) /$(NAME ) -$(basename $@ )
46+ chmod +x $(BINDIR ) /$(NAME ) -$(VERSION ) - $( basename $@ )
47+ gzip -f -S .gz $(BINDIR ) /$(NAME ) - $( VERSION ) -$(basename $@ )
4848
4949$(zip_releases ) : % .zip : %
50- zip -m -j $(BINDIR ) /$(NAME ) -$(basename $@ ) - $( VERSION ) .zip $(BINDIR ) /$(NAME ) -$(basename $@ ) .exe
50+ zip -m -j $(BINDIR ) /$(NAME ) -$(VERSION ) - $( basename $@ ) .zip $(BINDIR ) /$(NAME ) - $( VERSION ) -$(basename $@ ) .exe
5151
52- releases : $(gz_releases ) $(zip_releases )
52+ releases : $(gz_releases ) $(zip_releases ) android
5353
5454clean :
5555 rm * .syso -f
0 commit comments