notmuch/Makefile
Carl Worth 784e55d0f9 Move bulk of rules from Makefile to Makefile.local.
Before it was impossible to know whether any particular setting or
rule definition was in Makefile or Makefile.local. So we strip the
Makefile down to little more than the list of sub-directories and
the logic to include all of the sub-directories' Makefile.local
fragments.

Then, all of the real work can happen inside of Makefile.local.
2010-03-31 22:12:01 -07:00

14 lines
529 B
Makefile

# We want the all target to be the implicit target (if no target is
# given explicitly on the command line) so mention it first.
all:
# List all subdirectories here. Each contains its own Makefile.local
subdirs = compat emacs lib
# We make all targets depend on the Makefiles themselves.
global_deps = Makefile Makefile.local \
$(subdirs:%=%/Makefile) $(subdirs:%=%/Makefile.local)
# Finally, include all of the Makefile.local fragments where all the
# real work is done.
include Makefile.local $(subdirs:%=%/Makefile.local)