]> git.notmuchmail.org Git - notmuch/blob - bindings/go/pkg/Makefile
Initial import of Go bindings for notmuch
[notmuch] / bindings / go / pkg / Makefile
1 # Copyright 2009 The Go Authors.  All rights reserved.
2 # Use of this source code is governed by a BSD-style
3 # license that can be found in the LICENSE file.
4
5 include $(GOROOT)/src/Make.inc
6
7 TARG=notmuch
8 CGOFILES=notmuch.go
9 CGO_LDFLAGS=-lnotmuch
10
11 CLEANFILES+=notmuch_test
12
13 include $(GOROOT)/src/Make.pkg
14
15 %: install %.go
16         $(GC) $*.go
17         $(LD) -o $@ $*.$O