Files
Adaptix-Framework-AdaptixC2/AdaptixServer/extenders/gopher_agent/src_gopher/Makefile
T
2025-11-27 00:17:01 +03:00

10 lines
775 B
Makefile
Executable File

all: agent
agent:
@ GOWORK=off CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -modfile=go.mod -trimpath -ldflags="-s -w" -o agent && rm agent
@ GOWORK=off CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -modfile=go.mod -trimpath -ldflags="-s -w" -o agent && rm agent
@ GOWORK=off CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -modfile=go.mod -trimpath -ldflags="-s -w" -o agent && rm agent
@ GOWORK=off CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -modfile=go.mod -trimpath -ldflags="-s -w" -o agent && rm agent
@ GOWORK=off CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -modfile=go.mod -trimpath -ldflags="-s -w" -o agent && rm agent
@ GOWORK=off CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -modfile=go.mod -trimpath -ldflags="-s -w" -o agent && rm agent