summaryrefslogtreecommitdiff
path: root/src/cmd/yacc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/yacc/Makefile')
-rw-r--r--src/cmd/yacc/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmd/yacc/Makefile b/src/cmd/yacc/Makefile
new file mode 100644
index 000000000..56e954289
--- /dev/null
+++ b/src/cmd/yacc/Makefile
@@ -0,0 +1,10 @@
+# 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.
+
+units: yacc.go units.y
+ go run yacc.go -p units_ units.y
+ go build -o units y.go
+
+clean:
+ rm -f y.go y.output units