The updated sed still doesn't work in mac, revert.

This commit is contained in:
Kai Liu 2013-11-12 21:40:25 -08:00
parent f3b3316a07
commit aed9f1fa5e

View file

@ -369,7 +369,7 @@ endif
# the correct path prefix.
%.d: %.cc
$(CXX) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) -MM $< -o $@
@sed -i -e 's/.*:/$*.o:/' $@
@sed -i -e 's|.*:|$*.o:|' $@
DEPFILES = $(filter-out util/build_version.d,$(SOURCES:.cc=.d))