From 68382ec021bf928870f74b59fc5394990052c0ff Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 5 May 2009 21:31:22 -0700 Subject: [PATCH] add missing Makefile to repair build TBR=gri OCL=28320 CL=28320 --- src/lib/go/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/lib/go/Makefile diff --git a/src/lib/go/Makefile b/src/lib/go/Makefile new file mode 100644 index 0000000000..d779c1f876 --- /dev/null +++ b/src/lib/go/Makefile @@ -0,0 +1,45 @@ +# Copyright 2009 The Go Authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +all: install + +GC=6g + +DIRS=\ + ast \ + doc \ + parser \ + scanner \ + token \ + + +TEST=\ + parser \ + scanner \ + +clean.dirs: $(addsuffix .clean, $(DIRS)) +install.dirs: $(addsuffix .install, $(DIRS)) +test.dirs: $(addsuffix .test, $(TEST)) + +%.clean: + +cd $* && make clean + +%.install: + +cd $* && make install + +%.test: + +cd $* && make test + +clean: clean.dirs + +install: install.dirs + +test: test.dirs + +# TODO: dependencies - should auto-generate + +scanner.install: token.install +parser.install: ast.install scanner.install token.install +doc.install: ast.install token.install +ast.install: token.install -- 2.48.1