golang-examples/example-go-channel/Makefile

22 lines
514 B
Makefile

all: 5threads simple return-vals sendFunction
5threads:
GO111MODULE="off" go build -v -x -o ~/go/bin/5threads 5threads.go
5threads
simple:
GO111MODULE="off" go build -v -x -o ~/go/bin/simple-worker simple-worker.go
simple-worker
main1:
GO111MODULE="off" go build -v -x -o ~/go/bin/main1 main.go
main1
return-vals:
GO111MODULE="off" go build -v -x -o ~/go/bin/return-vals return-vals.go
return-vals
sendFunction:
GO111MODULE="off" go build -v -x -o ~/go/bin/sendFunction sendFunction.go
sendFunction