1
0
mirror of https://github.com/golang/go synced 2024-11-25 08:57:58 -07:00

Make.cmd: make 'all' the default target (was 'clean': BUG)

R=rsc
CC=golang-dev
https://golang.org/cl/661041
This commit is contained in:
Rob Pike 2010-03-19 16:33:27 -07:00
parent b21f3137a4
commit f9d6af9fb8

View File

@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style # Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file. # license that can be found in the LICENSE file.
all: $(TARG)
# ugly hack to deal with whitespaces in $GOROOT # ugly hack to deal with whitespaces in $GOROOT
nullstring := nullstring :=
@ -12,8 +13,6 @@ include $(QUOTED_GOROOT)/src/Make.common
PREREQ+=$(patsubst %,%.make,$(DEPS)) PREREQ+=$(patsubst %,%.make,$(DEPS))
all: $(TARG)
$(TARG): _go_.$O $(OFILES) $(TARG): _go_.$O $(OFILES)
$(QUOTED_GOBIN)/$(LD) -o $@ _go_.$O $(OFILES) $(QUOTED_GOBIN)/$(LD) -o $@ _go_.$O $(OFILES)