aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/go/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/go/Makefile')
-rw-r--r--bindings/go/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/bindings/go/Makefile b/bindings/go/Makefile
new file mode 100644
index 00000000..aba2d595
--- /dev/null
+++ b/bindings/go/Makefile
@@ -0,0 +1,30 @@
+# 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
+
+all: install
+
+DIRS=\
+ pkg\
+ cmds\
+
+
+clean.dirs: $(addsuffix .clean, $(DIRS))
+install.dirs: $(addsuffix .install, $(DIRS))
+nuke.dirs: $(addsuffix .nuke, $(DIRS))
+test.dirs: $(addsuffix .test, $(TEST))
+bench.dirs: $(addsuffix .bench, $(BENCH))
+
+%.clean:
+ +cd $* && $(QUOTED_GOBIN)/gomake clean
+
+%.install:
+ +cd $* && $(QUOTED_GOBIN)/gomake install
+
+clean: clean.dirs
+
+install: install.dirs
+
+#-include ${GOROOT}/src/Make.deps