]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/go/Makefile
Initial import of Go bindings for notmuch
[notmuch] / bindings / go / Makefile
diff --git a/bindings/go/Makefile b/bindings/go/Makefile
new file mode 100644 (file)
index 0000000..aba2d59
--- /dev/null
@@ -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