Files
webrtc_http_tunnel/client/backend/Makefile
T
2025-07-25 16:19:53 +03:00

18 lines
411 B
Makefile

CC := go
NAME := peer
OUT := bin/
all: clean windows linux darwin
windows: peer.go types.go
GOOS=$@ GOARCH=amd64 $(CC) build -o $(OUT)$(NAME)_$@.exe $^
linux: peer.go types.go
GOOS=$@ GOARCH=amd64 $(CC) build -o $(OUT)$(NAME)_$@ $^
darwin: peer.go types.go
GOOS=$@ GOARCH=amd64 $(CC) build -o $(OUT)$(NAME)_$@_amd64 $^
GOOS=$@ GOARCH=arm64 $(CC) build -o $(OUT)$(NAME)_$@_arm64 $^
clean:
$(RM) -r bin/