aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: bf3a5200ff74b99e47c94e0b674c762c3294b2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PROGS=notmuch-index-message xapian-dump

MYCXXFLAGS=-Wall

all: $(PROGS)

notmuch-index-message: notmuch-index-message.cc
	$(CC) $(CXXFLAGS) $(MYCXXFLAGS) notmuch-index-message.cc `pkg-config --cflags --libs gmime-2.4` `xapian-config --cxxflags --libs` -o notmuch-index-message

xapian-dump: xapian-dump.cc
	$(CXX) $(CXXFLAGS) $(MYCXXFLAGS) xapian-dump.cc `xapian-config --libs --cxxflags` -o xapian-dump

clean:
	rm -f $(PROGS)