summaryrefslogtreecommitdiff
path: root/src/cmd/5a
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-02-06 13:34:25 -0500
committerRuss Cox <rsc@golang.org>2012-02-06 13:34:25 -0500
commit0c6aaf174960bc22938f3294e2ff7d2adfa39813 (patch)
tree5660ba627bfe283f801e810cd00c641400b2c2ce /src/cmd/5a
parent5a0ce39ecbd18a93e42411cae9b618460de9a857 (diff)
downloadgo-0c6aaf174960bc22938f3294e2ff7d2adfa39813.tar.gz
build: delete make paraphernalia
As a convenience to people working on the tools, leave Makefiles that invoke the go dist tool appropriately. They are not used during the build. R=golang-dev, bradfitz, n13m3y3r, gustavo CC=golang-dev http://codereview.appspot.com/5636050
Diffstat (limited to 'src/cmd/5a')
-rw-r--r--src/cmd/5a/Makefile25
1 files changed, 5 insertions, 20 deletions
diff --git a/src/cmd/5a/Makefile b/src/cmd/5a/Makefile
index 9a19f197f..538ffb1a7 100644
--- a/src/cmd/5a/Makefile
+++ b/src/cmd/5a/Makefile
@@ -1,25 +1,10 @@
-# Copyright 2009 The Go Authors. All rights reserved.
+# Copyright 2012 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.
-include ../../Make.inc
-O:=$(HOST_O)
+include ../../Make.dist
-TARG=5a
+install: y.tab.h
-HFILES=\
- a.h\
- y.tab.h\
- ../5l/5.out.h\
-
-OFILES=\
- y.tab.$O\
- lex.$O\
- ../5l/enam.$O\
-
-YFILES=\
- a.y\
-
-include ../../Make.ctool
-
-lex.$O: ../cc/macbody ../cc/lexbody
+y.tab.h: a.y
+ LANG=C LANGUAGE=en_US.UTF8 bison -v -y a.y