]> Cypherpunks repositories - gostls13.git/commitdiff
windows: append executable extension (done as per Russ' suggestion)
authorJoe Poirier <jdpoirier@gmail.com>
Thu, 15 Jul 2010 00:21:13 +0000 (17:21 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 15 Jul 2010 00:21:13 +0000 (17:21 -0700)
R=rsc
CC=brainman, golang-dev
https://golang.org/cl/1690053

src/Make.cmd

index b2a184b8229cc5378e39d6213a5bb1439ff46fdd..b2b764f26d6b4277d38e7a47678e618d306b3619 100644 (file)
@@ -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)