# 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.

ROOT= /go
<$ROOT/$objtype/mkfile

BIND= `{bind -b $ROOT/$GOARCH/bin /bin}

TARGDIR= $GOROOT/$GOARCH/bin
TARG= goyacc		# bufio bytes flag fmt os strings

GOFILES=\
	goyacc.go\

<../../mkcmd

units: goyacc units.y
	./goyacc -p units_ units.y
	$GC y.go
	$LD -o units y.$O

CLEANFILES=\
	$CLEANFILES\
	units\
	y.go\
	y.output\
