]> git.notmuchmail.org Git - notmuch/blobdiff - lib/Makefile.local
added search filtering
[notmuch] / lib / Makefile.local
index 43882a3dfcb2dbdb9567ae9e3b9112615f27f219..a7562c9bd28a3ee18c6c29ed38348070b3cd9f12 100644 (file)
@@ -1,8 +1,10 @@
 dir=lib
+extra_cflags += -I$(dir)
 
 libnotmuch_c_srcs =            \
        $(dir)/libsha1.c        \
        $(dir)/message-file.c   \
+       $(dir)/messages.c       \
        $(dir)/sha1.c           \
        $(dir)/tags.c           \
        $(dir)/xutil.c
@@ -16,7 +18,7 @@ libnotmuch_cxx_srcs =         \
 
 libnotmuch_modules = $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o)
 $(dir)/notmuch.a: $(libnotmuch_modules)
-       $(AR) rcs $@ $^
+       $(call quiet,AR) rcs $@ $^
 
 SRCS  := $(SRCS) $(libnotmuch_c_srcs) $(libnotmuch_cxx_srcs)
 CLEAN := $(CLEAN) $(libnotmuch_modules) $(dir)/notmuch.a