mirror of
https://github.com/golang/go
synced 2024-11-21 14:44:40 -07:00
fix garbage benchmark Makefile.
apparently some versions of GNU make cannot handle the %: %.$O rule. i don't understand why and don't care enough to find out. R=agl1 CC=golang-dev https://golang.org/cl/206055
This commit is contained in:
parent
c5287ecb9c
commit
766d042e48
@ -32,9 +32,7 @@ src/pkg/runtime/runtime.acid.*
|
|||||||
test/pass.out
|
test/pass.out
|
||||||
test/run.out
|
test/run.out
|
||||||
test/times.out
|
test/times.out
|
||||||
test/garbage/parser
|
test/garbage/*.out
|
||||||
test/garbage/peano
|
|
||||||
test/garbage/tree
|
|
||||||
|
|
||||||
syntax:regexp
|
syntax:regexp
|
||||||
^pkg/
|
^pkg/
|
||||||
|
@ -9,16 +9,16 @@ ALL=\
|
|||||||
peano\
|
peano\
|
||||||
tree\
|
tree\
|
||||||
|
|
||||||
all: $(ALL)
|
all: $(addsuffix .out, $(ALL))
|
||||||
|
|
||||||
%.$O: %.go
|
%.$O: %.go
|
||||||
$(GC) $*.go
|
$(GC) $*.go
|
||||||
|
|
||||||
%: %.$O
|
%.out: %.$O
|
||||||
$(LD) -o $@ $*.$O
|
$(LD) -o $@ $*.$O
|
||||||
|
|
||||||
%.bench: %
|
%.bench: %.out
|
||||||
./$*
|
./$*.out
|
||||||
|
|
||||||
bench: $(addsuffix .bench, $(ALL))
|
bench: $(addsuffix .bench, $(ALL))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user