Implement a non-recursive make.
[notmuch] / lib / Makefile.local
1 dir=lib
2
3 lib_notmuch_modules =           \
4         $(dir)/database.o       \
5         $(dir)/index.o          \
6         $(dir)/$(dir)sha1.o     \
7         $(dir)/message.o        \
8         $(dir)/message-file.o   \
9         $(dir)/query.o          \
10         $(dir)/sha1.o           \
11         $(dir)/tags.o           \
12         $(dir)/thread.o         \
13         $(dir)/xutil.o
14
15 $(dir)/notmuch.a: $(lib_notmuch_modules)
16         $(AR) rcs $@ $^
17
18 SRCS  := $(SRCS) lib/*.c lib/*.cc
19 CLEAN := $(CLEAN) $(dir)/*.o $(dir)/notmuch.a