Home | History | Annotate | Download | only in garbage
      1 # Copyright 2010 The Go Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style
      3 # license that can be found in the LICENSE file.
      4 
      5 ALL=\
      6 	parser\
      7 	peano\
      8 	tree\
      9 	tree2\
     10 
     11 all: $(ALL)
     12 
     13 %: %.go
     14 	go build $*.go stats.go
     15 
     16 %.bench: %
     17 	time ./$*
     18 
     19 bench: $(addsuffix .bench, $(ALL))
     20 
     21 clean:
     22 	rm -f $(ALL)
     23 
     24