1CGO_ENABLED=0 2 3all: windows linux darwin 4 5linux: 6 GOOS=linux GOARCH=amd64 go build -o yaml_patch_linux cmd/yaml-patch/*.go 7 8windows: 9 GOOS=windows GOARCH=amd64 go build -o yaml_patch.exe cmd/yaml-patch/*.go 10 11darwin: 12 GOOS=darwin GOARCH=amd64 go build -o yaml_patch_darwin cmd/yaml-patch/*.go 13 14clean: 15 rm yaml_patch_linux 16 rm yaml_patch.exe 17 rm yaml_patch_darwin 18