summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-08 21:23:06 +0000
committerChris Lattner <sabre@nondot.org>2003-11-08 21:23:06 +0000
commitc129e009eb065e3cd8ea9ce505a7ffe214efcf52 (patch)
tree88cf9ad2ef247c52c28e6967a5cc6796f9738a2f /llvm
parent2cb1db763e1a075f3bad6d8470654f8e0739646f (diff)
downloadbcm5719-llvm-c129e009eb065e3cd8ea9ce505a7ffe214efcf52.tar.gz
bcm5719-llvm-c129e009eb065e3cd8ea9ce505a7ffe214efcf52.zip
Fix broken makefile dependency generation
llvm-svn: 9810
Diffstat (limited to 'llvm')
-rw-r--r--llvm/Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 64ef77d9663..af0c021234a 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -800,11 +800,11 @@ SourceDepend := $(SourceBaseNames:%=$(BUILD_OBJ_DIR)/Depend/%.d)
# Create dependencies for the *.cpp files...
$(BUILD_OBJ_DIR)/Depend/%.d: %.cpp $(BUILD_OBJ_DIR)/Depend/.dir
- $(VERB) $(Depend) $< | $(SED) 's|\.o$$|\.lo|' | $(SED) 's|$*\.lo *|$(BUILD_OBJ_DIR)/Release/& $(BUILD_OBJ_DIR)/Profile/& $(BUILD_OBJ_DIR)/Debug/& $(BUILD_OBJ_DIR)/Depend/$(@F)|g' > $@
+ $(VERB) $(Depend) $< | $(SED) 's|\.o:|\.lo:|' | $(SED) 's|$*\.lo *|$(BUILD_OBJ_DIR)/Release/& $(BUILD_OBJ_DIR)/Profile/& $(BUILD_OBJ_DIR)/Debug/& $(BUILD_OBJ_DIR)/Depend/$(@F)|g' > $@
# Create dependencies for the *.c files...
$(BUILD_OBJ_DIR)/Depend/%.d: %.c $(BUILD_OBJ_DIR)/Depend/.dir
- $(VERB) $(DependC) -o $@ $< | $(SED) 's|\.o$$|\.lo|' | $(SED) 's|$*\.lo *|$(BUILD_OBJ_DIR)/Release/& $(BUILD_OBJ_DIR)/Profile/& $(BUILD_OBJ_DIR)/Debug/& $(BUILD_OBJ_DIR)/Depend/$(@F)|g' > $@
+ $(VERB) $(DependC) -o $@ $< | $(SED) 's|\.o:|\.lo:|' | $(SED) 's|$*\.lo *|$(BUILD_OBJ_DIR)/Release/& $(BUILD_OBJ_DIR)/Profile/& $(BUILD_OBJ_DIR)/Debug/& $(BUILD_OBJ_DIR)/Depend/$(@F)|g' > $@
#
# Autoconf Dependencies.
OpenPOWER on IntegriCloud