]> git.notmuchmail.org Git - notmuch/blob - Makefile
xapian-dump: Rewrite to generate C code as output.
[notmuch] / Makefile
1 PROGS=notmuch notmuch-index-message xapian-dump
2
3 MYCFLAGS=-Wall -O0 -g
4 MYCXXFLAGS=-Wall -O0 -g
5
6 all: $(PROGS)
7
8 notmuch: notmuch.c
9         $(CC) $(CFLAGS) $(MYCFLAGS) notmuch.c `pkg-config --cflags --libs glib-2.0` -o notmuch
10
11 notmuch-index-message: notmuch-index-message.cc
12         $(CXX) $(CXXFLAGS) $(MYCXXFLAGS) notmuch-index-message.cc `pkg-config --cflags --libs gmime-2.4` `xapian-config --cxxflags --libs` -o notmuch-index-message
13
14 xapian-dump: xapian-dump.cc
15         $(CXX) $(CXXFLAGS) $(MYCXXFLAGS) xapian-dump.cc `xapian-config --libs --cxxflags` -o xapian-dump
16
17 clean:
18         rm -f $(PROGS)