diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-01T10·31+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-01T10·31+0100 |
commit | f324b49ea19e606f84b89ecb499f0e961646cd50 (patch) | |
tree | fa11c86a31d72bed8d9cf1f816ff2372a0f08db4 /patterns.mk | |
parent | 4271927c5be2c5b87ca83682d1f2bd71d5ce4a66 (diff) |
Change dependency file names from foo.dep to .foo.o.dep
Diffstat (limited to 'patterns.mk')
-rw-r--r-- | patterns.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patterns.mk b/patterns.mk index 91a758f3389d..f5674d40436c 100644 --- a/patterns.mk +++ b/patterns.mk @@ -1,8 +1,8 @@ %.o: %.cc - $(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP + $(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP %.o: %.cpp - $(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(basename $@).dep -MP + $(trace-cxx) $(CXX) -o $@ -c $< $(GLOBAL_CXXFLAGS) $(CXXFLAGS) $($@_CXXFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP %.o: %.c - $(trace-cc) $(CC) -o $@ -c $< $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(basename $@).dep -MP + $(trace-cc) $(CC) -o $@ -c $< $(GLOBAL_CFLAGS) $(CFLAGS) $($@_CFLAGS) -MMD -MF $(call filename-to-dep, $@) -MP |