]> git.notmuchmail.org Git - notmuch/blob - Makefile.local
Implement a non-recursive make.
[notmuch] / Makefile.local
1 all: notmuch
2
3 notmuch: notmuch.o lib/notmuch.a
4         $(CC) $(NOTMUCH_LDFLAGS) $^ -o $@
5
6 notmuch.1.gz:
7         gzip --stdout notmuch.1 > notmuch.1.gz
8
9 install: all notmuch.1.gz
10         install -C -D notmuch $(DESTDIR)/usr/bin/notmuch
11         install -C -D notmuch.1.gz $(DESTDIR)/usr/share/man/man1
12         install -C -D notmuch-completion.bash \
13                 $(DESTDIR)/etc/bash_completion.d/notmuch
14
15 SRCS  := $(SRCS) notmuch.c
16 CLEAN := $(CLEAN) notmuch *.o