github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/sys/windows/Makefile (about)

     1  # Copyright 2014 The Go Authors. All rights reserved.
     2  # Use of this source code is governed by a BSD-style
     3  # license that can be found in the LICENSE file.
     4  
     5  all: zsyscall_windows.go
     6  
     7  TMP=/tmp/mksyscall_windows
     8  
     9  zsyscall_windows.go: syscall_windows.go security_windows.go
    10  	go build -o $(TMP) $(GOROOT)/src/syscall/mksyscall_windows.go
    11  	GOOS=windows $(TMP) $^ | gofmt > $@
    12  	rm $(TMP)