From: Joe Poirier Date: Thu, 15 Jul 2010 00:21:13 +0000 (-0700) Subject: windows: append executable extension (done as per Russ' suggestion) X-Git-Tag: weekly.2010-07-14~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9028d6bf7cb4f0a3b24e940d04945fcd89e97f3c;p=gostls13.git windows: append executable extension (done as per Russ' suggestion) R=rsc CC=brainman, golang-dev https://golang.org/cl/1690053 --- 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)