Makefile 324 Bytes
Newer Older
1
# Copyright 2010 The Go Authors. All rights reserved.
2 3 4 5 6 7 8
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

ALL=\
	parser\
	peano\
	tree\
9
	tree2\
10

11
all: $(ALL)
12

13 14
%: %.go
	go build $*.go stats.go
15

16 17
%.bench: %
	time ./$*
18 19 20 21

bench: $(addsuffix .bench, $(ALL))

clean:
22
	rm -f $(ALL)
23