Better support windows binaries.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2019-11-12 11:52:49 -08:00
parent 95de2655a7
commit 3db1c3b8f4
2 changed files with 13 additions and 6 deletions

View File

@@ -17,9 +17,12 @@
WHALE = "+"
ONI = "-"
BINARY_SUFFIX=".exe"
# amd64 supports go test -race
ifeq ($(GOARCH),amd64)
TESTFLAGS_RACE= -race
endif
BINARIES:=$(addsuffix .exe,$(BINARIES))
bin/%.exe: cmd/% FORCE
$(BUILD_BINARY)