]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile
Fix up Makefile for build.
[notmuch] / Makefile
index f3697861e75d540f20954a46589284a3db10e278..faaaec6419b9ae7ec4d96b1b0d28ceac00739446 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,19 @@
 all:
 
 # List all subdirectories here. Each contains its own Makefile.local
-subdirs = compat emacs lib
+subdirs = compat completion emacs lib
 
 # We make all targets depend on the Makefiles themselves.
 global_deps = Makefile Makefile.local \
        $(subdirs:%=%/Makefile) $(subdirs:%=%/Makefile.local)
 
+# Sub-directory Makefile.local fragments can append to these variables
+# to have directory-specific cflags as necessary.
+
+extra_cflags :=
+extra_cxxflags :=
+
 # Finally, include all of the Makefile.local fragments where all the
 # real work is done.
-include Makefile.local $(subdirs:%=%/Makefile.local)
+
+include $(subdirs:%=%/Makefile.local) Makefile.local