mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 13:44:12 +01:00
30 lines
626 B
Makefile
30 lines
626 B
Makefile
# 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
|