X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile;h=7c15d6c1f0a5b7c88136bcdb7f6e1dc84cc2b44d;hp=4af5a2ebfa5de2d38506e2dfd2e772bc30fe2ea0;hb=5a84df0f1507753b1776636ad268d36b7346a8fd;hpb=10c176ba0e6d71e920b72a3165c0e56f26b5e4b3 diff --git a/Makefile b/Makefile index 4af5a2eb..7c15d6c1 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ -PROGS=notmuch notmuch-index-message xapian-dump +PROGS=notmuch -MYCFLAGS=-Wall -O0 -g `pkg-config --cflags gmime-2.4` +MYCFLAGS=-Wall -O0 -g `pkg-config --cflags glib-2.0` MYCXXFLAGS=$(MYCFLAGS) `xapian-config --cxxflags` -MYLDFLAGS=`pkg-config --libs gmime-2.4` `xapian-config --libs` +MYLDFLAGS=`pkg-config --libs glib-2.0` `xapian-config --libs` all: $(PROGS) @@ -13,14 +13,8 @@ all: $(PROGS) %.o: %.c $(CC) -c $(CFLAGS) $(MYCFLAGS) $^ -o $@ -notmuch: notmuch.o database.o xutil.o +notmuch: notmuch.o database.o date.o message.o xutil.o $(CC) $(MYLDFLAGS) $^ -o $@ -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) *.o