mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
36640b303e
Of course, there's not much that this program does yet. It's got some structure for some sub-commands that don't do anything. And it has a main command that prints some explanatory text and then counts all the regular files in your mail archive.
18 lines
575 B
Makefile
18 lines
575 B
Makefile
PROGS=notmuch notmuch-index-message xapian-dump
|
|
|
|
MYCFLAGS=-Wall -O0 -g
|
|
MYCXXFLAGS=-Wall -O0 -g
|
|
|
|
all: $(PROGS)
|
|
|
|
notmuch: notmuch.c
|
|
$(CC) $(CFLAGS) $(MYCFLAGS) notmuch.c `pkg-config --cflags --libs glib-2.0` -o notmuch
|
|
|
|
notmuch-index-message: notmuch-index-message.cc
|
|
$(CXX) $(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)
|