github.com/ader1990/go@v0.0.0-20140630135419-8c24447fa791/src/cmd/yacc/Makefile (about) 1 # Copyright 2009 The Go Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style 3 # license that can be found in the LICENSE file. 4 5 TARG=expr$(shell go env GOEXE) 6 7 $(TARG): yacc.go expr.y 8 go run yacc.go -p expr expr.y 9 go build -o $(TARG) y.go 10 11 clean: 12 rm -f y.go y.output $(TARG)