Makefile: Include system header in generated dependencies

This commit is contained in:
Maxime Coste 2014-09-15 18:59:49 +01:00
parent baa9dd2474
commit be85eb5d0b

View File

@ -45,7 +45,7 @@ kak : $(objects)
-include $(deps) -include $(deps)
.%.o: %.cc .%.o: %.cc
$(CXX) $(CXXFLAGS) -MMD -MP -MF $(addprefix ., $(<:.cc=.d)) -c -o $@ $< $(CXX) $(CXXFLAGS) -MD -MP -MF $(addprefix ., $(<:.cc=.d)) -c -o $@ $<
tags: tags:
ctags -R ctags -R