]> git.cworth.org Git - obsolete/notmuch-old/blob - lib/Makefile.local
notmuch.el: add a submap (on "z" for "ztash") to stash things.
[obsolete/notmuch-old] / lib / Makefile.local
1 dir=lib
2 extra_cflags += -I$(dir)
3
4 libnotmuch_c_srcs =             \
5         $(dir)/libsha1.c        \
6         $(dir)/message-file.c   \
7         $(dir)/messages.c       \
8         $(dir)/sha1.c           \
9         $(dir)/tags.c           \
10         $(dir)/xutil.c
11
12 libnotmuch_cxx_srcs =           \
13         $(dir)/database.cc      \
14         $(dir)/directory.cc     \
15         $(dir)/index.cc         \
16         $(dir)/message.cc       \
17         $(dir)/query.cc         \
18         $(dir)/thread.cc
19
20 libnotmuch_modules = $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o)
21 $(dir)/notmuch.a: $(libnotmuch_modules)
22         $(call quiet,AR) rcs $@ $^
23
24 SRCS  := $(SRCS) $(libnotmuch_c_srcs) $(libnotmuch_cxx_srcs)
25 CLEAN := $(CLEAN) $(libnotmuch_modules) $(dir)/notmuch.a