diff options
author | Rob Pike <r@golang.org> | 2012-03-07 13:51:49 +1100 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2012-03-07 13:51:49 +1100 |
commit | 905cb4881b9604d2f69c2c5bc9c5c5e44d6ea3d9 (patch) | |
tree | 73ffa6d4c8dc926b83e6d5a57a79f3296b3a6fa2 /test/bench | |
parent | f91326b7b1de0f699fff4051e41318b7278b4af0 (diff) | |
download | go-905cb4881b9604d2f69c2c5bc9c5c5e44d6ea3d9.tar.gz go-905cb4881b9604d2f69c2c5bc9c5c5e44d6ea3d9.zip |
all: remove some references to Make.inc etc.
There are a few more but these are the easiest ones.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5756067
Diffstat (limited to 'test/bench')
-rw-r--r-- | test/bench/garbage/Makefile | 17 | ||||
-rw-r--r-- | test/bench/go1/Makefile | 5 |
2 files changed, 6 insertions, 16 deletions
diff --git a/test/bench/garbage/Makefile b/test/bench/garbage/Makefile index 8002a2017b..98838453aa 100644 --- a/test/bench/garbage/Makefile +++ b/test/bench/garbage/Makefile @@ -2,27 +2,22 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include ../../../src/Make.inc - ALL=\ parser\ peano\ tree\ tree2\ -all: $(addsuffix .out, $(ALL)) - -%.$O: %.go stats.go - $(GC) $(GCFLAGS) $(GCIMPORTS) $*.go stats.go +all: $(ALL) -%.out: %.$O - $(LD) -o $@ $*.$O +%: %.go + go build $*.go stats.go -%.bench: %.out - time ./$*.out +%.bench: % + time ./$* bench: $(addsuffix .bench, $(ALL)) clean: - rm -f *.[$(OS)] $(addsuffix .out, $(ALL)) + rm -f $(ALL) diff --git a/test/bench/go1/Makefile b/test/bench/go1/Makefile index aa55853356..48e01279d4 100644 --- a/test/bench/go1/Makefile +++ b/test/bench/go1/Makefile @@ -1,10 +1,5 @@ -include $(GOROOT)/src/Make.inc TARG=go1 -GOFILES=\ - dummy.go\ - -include $(GOROOT)/src/Make.pkg test: echo go1: tests disabled for now TODO |