Makefile improvements to handle the examples package.
--- a/Makefile Wed Dec 28 12:39:24 2011 -0700
+++ b/Makefile Wed Dec 28 12:46:03 2011 -0700
@@ -10,6 +10,12 @@
stream.go \
structs.go \
-# TODO Add a target to build examples.
+examples: install
+ gomake -C examples all
+
+clean: clean-examples
+
+clean-examples:
+ gomake -C examples clean
include $(GOROOT)/src/Make.pkg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/Makefile Wed Dec 28 12:46:03 2011 -0700
@@ -0,0 +1,11 @@
+# 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.
+
+include $(GOROOT)/src/Make.inc
+
+TARG=interact
+GOFILES=\
+ interact.go \
+
+include $(GOROOT)/src/Make.cmd