+notmuch_client_srcs = \
+ notmuch.c \
+ notmuch-dump.c \
+ notmuch-new.c \
+ notmuch-restore.c \
+ notmuch-search.c \
+ notmuch-setup.c \
+ notmuch-show.c \
+ notmuch-tag.c \
+ notmuch-time.c \
+ add-files.c \
+ query-string.c
+
+notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
+notmuch: $(notmuch_client_modules) lib/notmuch.a
+ $(CC) $(LDFLAGS) $^ -o $@