aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/go/pkg/Makefile
diff options
context:
space:
mode:
authorGravatar Sebastien Binet <binet@farnsworth>2010-11-10 18:18:44 +0100
committerGravatar Carl Worth <cworth@cworth.org>2011-01-26 15:59:19 +1000
commitc234f8f972c13d1725da3152b114311350fea541 (patch)
tree87cf7ce23e7ed8a896eb5787c6cc5dca8328a5de /bindings/go/pkg/Makefile
parent8f1fdaaecb567ba402f17599ec38942af45aa9ae (diff)
Initial import of Go bindings for notmuch
Diffstat (limited to 'bindings/go/pkg/Makefile')
-rw-r--r--bindings/go/pkg/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/bindings/go/pkg/Makefile b/bindings/go/pkg/Makefile
new file mode 100644
index 00000000..de89dbc9
--- /dev/null
+++ b/bindings/go/pkg/Makefile
@@ -0,0 +1,17 @@
+# 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=notmuch
+CGOFILES=notmuch.go
+CGO_LDFLAGS=-lnotmuch
+
+CLEANFILES+=notmuch_test
+
+include $(GOROOT)/src/Make.pkg
+
+%: install %.go
+ $(GC) $*.go
+ $(LD) -o $@ $*.$O