aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/gc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/gc/Makefile')
-rw-r--r--src/cmd/gc/Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/cmd/gc/Makefile b/src/cmd/gc/Makefile
deleted file mode 100644
index 58e25faaf9..0000000000
--- a/src/cmd/gc/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# 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.dist
-
-install: y.tab.h builtin.c
-
-y.tab.h: go.y go.errors bisonerrors
- bison -v -y -d go.y
- # make yystate global, yytname mutable
- cat y.tab.c | sed '/ int yystate;/d; s/int yychar;/int yychar, yystate;/; s/static const char \*const yytname/const char *yytname/; s/char const \*yymsgp/char *yymsgp/' >y1.tab.c
- mv y1.tab.c y.tab.c
- awk -f bisonerrors y.output go.errors >yerr.h
-
-builtin.c: runtime.go unsafe.go
- ./mkbuiltin