]> git.notmuchmail.org Git - notmuch/blob - Makefile
faaaec6419b9ae7ec4d96b1b0d28ceac00739446
[notmuch] / Makefile
1 # We want the all target to be the implicit target (if no target is
2 # given explicitly on the command line) so mention it first.
3 all:
4
5 # List all subdirectories here. Each contains its own Makefile.local
6 subdirs = compat completion emacs lib
7
8 # We make all targets depend on the Makefiles themselves.
9 global_deps = Makefile Makefile.local \
10         $(subdirs:%=%/Makefile) $(subdirs:%=%/Makefile.local)
11
12 # Sub-directory Makefile.local fragments can append to these variables
13 # to have directory-specific cflags as necessary.
14
15 extra_cflags :=
16 extra_cxxflags :=
17
18 # Finally, include all of the Makefile.local fragments where all the
19 # real work is done.
20
21 include $(subdirs:%=%/Makefile.local) Makefile.local