mirror of
https://github.com/golang/go
synced 2024-11-11 19:21:37 -07:00
build: update Makefile to track source code dependencies better
Also update .hgignore to ignore y.output. R=rsc CC=golang-dev https://golang.org/cl/5797061
This commit is contained in:
parent
d3191f5c2b
commit
0359621241
@ -33,6 +33,7 @@ misc/goplay/goplay
|
||||
misc/osx/*.pkg
|
||||
misc/osx/*.dmg
|
||||
src/cmd/6a/6a
|
||||
src/cmd/?a/y.output
|
||||
src/cmd/?l/enam.c
|
||||
src/cmd/cc/y.output
|
||||
src/cmd/dist/dist.dSYM
|
||||
|
@ -6,7 +6,7 @@ include ../../Make.dist
|
||||
|
||||
install: y.tab.h builtin.c
|
||||
|
||||
y.tab.h: go.y
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user