]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile
Fix memory leak in notmuch_thread_results_t
[notmuch] / Makefile
index bf34b8a5160bd49bc4cc3ac8980f19aed44e909f..b4d77b4e3fcaf95134869b07e709d3f4e48afce0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,8 @@ MODULES=              \
        message-file.o  \
        query.o         \
        sha1.o          \
+       tags.o          \
+       thread.o        \
        libsha1.o       \
        xutil.o
 
@@ -33,7 +35,7 @@ notmuch: $(MODULES)
        $(CC) $(MYLDFLAGS) $^ -o $@
 
 Makefile.dep: *.c *.cc
-       $(CC) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $^ > $@
+       $(CXX) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $(CXXDEPENDS_FLAGS) $^ > $@
 -include Makefile.dep
 
 clean: