Makefile 146 B

123456
  1. .PHONY: build buildLinux
  2. build:
  3. go build -o build/ytools
  4. buildLinux:
  5. CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o build/