aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Poirier <jdpoirier@gmail.com>2010-07-14 17:21:13 -0700
committerRuss Cox <rsc@golang.org>2010-07-14 17:21:13 -0700
commit9028d6bf7cb4f0a3b24e940d04945fcd89e97f3c (patch)
tree40c2ff55029ab7ca4ae1030965285471680acaf9
parent0432f289f7637499ac7a02ebdba9ac112da557d1 (diff)
downloadgo-9028d6bf7cb4f0a3b24e940d04945fcd89e97f3c.tar.gz
go-9028d6bf7cb4f0a3b24e940d04945fcd89e97f3c.zip
windows: append executable extension (done as per Russ' suggestion)
R=rsc CC=brainman, golang-dev https://golang.org/cl/1690053
-rw-r--r--src/Make.cmd4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Make.cmd b/src/Make.cmd
index b2a184b822..b2b764f26d 100644
--- a/src/Make.cmd
+++ b/src/Make.cmd
@@ -11,6 +11,10 @@ QUOTED_GOROOT:=$(subst $(space),\ ,$(GOROOT))
include $(QUOTED_GOROOT)/src/Make.common
+ifeq ($(GOOS),windows)
+TARG:=$(TARG).exe
+endif
+
PREREQ+=$(patsubst %,%.make,$(DEPS))
$(TARG): _go_.$O $(OFILES)