Add cfyne-win target to Makefile

This commit is contained in:
qowevisa 2024-07-20 12:02:18 +03:00
parent feb5d22b2a
commit c244a18abd

View File

@ -23,7 +23,16 @@ cgui:
go build -o ./bin/$@ ./cmd/$@ go build -o ./bin/$@ ./cmd/$@
cfyne: cfyne:
go build -v -o ./bin/$@ ./cmd/$@ go build -o ./bin/$@ ./cmd/$@
cfyne-win:
CGO_ENABLED=1 \
CC=x86_64-w64-mingw32-gcc \
CXX=x86_64-w64-mingw32-g++ \
GOOS=windows \
GOARCH=amd64 \
go build -v -o ./bin/$@ ./cmd/cfyne
gen_test_certs: gen_test_certs:
openssl ecparam -genkey -name prime256v1 -out server.key openssl ecparam -genkey -name prime256v1 -out server.key