aboutsummaryrefslogtreecommitdiff
path: root/bindings/go/pkg/Makefile
blob: de89dbc9a4af577107cc649ea60866e5983cba01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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