Oops, I accidentally broke the .d files. Fixed thusly
[oota-llvm.git] / Makefile.common
index 3151a2c61f5f189d9cef5d1a1c4dde0bbc84fd81..5873cfbe2b35dab2ce4155a0d7eb75048b0ed884 100644 (file)
@@ -302,7 +302,7 @@ endif
 
 # Create dependencies for the *.cpp files...
 $(BUILD_ROOT)/Depend/%.d: %.cpp $(BUILD_ROOT)/Depend/.dir
-       $(Depend) $< | sed 's|$*\.o *|Release/& Debug/& Depend/$(@F)|g' > $@
+       $(Depend) $< | sed 's|$*\.o *|$(BUILD_ROOT)/Release/& $(BUILD_ROOT)/Debug/& $(BUILD_ROOT)/Depend/$(@F)|g' > $@
 
 # Create dependencies for the *.c files...
 $(BUILD_ROOT)/Depend/%.d: %.c $(BUILD_ROOT)/Depend/.dir