diff --git a/Makefile b/Makefile index bf34b8a5..6af7faf5 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,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: