diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-11-07 04:39:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-11-07 04:39:53 +0000 |
| commit | cd4f3e601cde3a142ffe6e76c8cfa9c8a11d9049 (patch) | |
| tree | d29999ce67138c15c310d4782c405b404a418a48 /llvm | |
| parent | 5285e9c9a0e9cd7e75803947927720979c752021 (diff) | |
| download | bcm5719-llvm-cd4f3e601cde3a142ffe6e76c8cfa9c8a11d9049.tar.gz bcm5719-llvm-cd4f3e601cde3a142ffe6e76c8cfa9c8a11d9049.zip | |
Fix a really bad build problem for users who have .o in their build directory!
Thanks to Reid Spencer for figuring this out! :)
llvm-svn: 9763
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/Makefile.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index d3a6585e366..64ef77d9663 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. |

