Makefile 386 B

123456789101112
  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. all: zsyscall_windows.go
  5. TMP=/tmp/mksyscall_windows
  6. zsyscall_windows.go: syscall_windows.go security_windows.go
  7. go build -o $(TMP) $(GOROOT)/src/pkg/syscall/mksyscall_windows.go
  8. GOOS=windows $(TMP) $^ | gofmt > $@
  9. rm $(TMP)