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