X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fgo%2FMakefile;fp=bindings%2Fgo%2FMakefile;h=aba2d5952b7840894ed1401c3854db767293ec04;hb=c234f8f972c13d1725da3152b114311350fea541;hp=0000000000000000000000000000000000000000;hpb=8f1fdaaecb567ba402f17599ec38942af45aa9ae;p=notmuch diff --git a/bindings/go/Makefile b/bindings/go/Makefile new file mode 100644 index 00000000..aba2d595 --- /dev/null +++ b/bindings/go/Makefile @@ -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