diff options
Diffstat (limited to 'bindings/go/pkg/Makefile')
-rw-r--r-- | bindings/go/pkg/Makefile | 17 |
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 |