summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-07 15:24:23 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-07 15:24:23 +0000
commitd8d84eb0af9b80088ab7c3f588522f568a3850ab (patch)
tree18a32d7bed544f3cc84a4195412f37628ef4fbf0
parent800aaaf207a89c3c1e10c3a5cf6155562de248f7 (diff)
downloadbcm5719-llvm-d8d84eb0af9b80088ab7c3f588522f568a3850ab.tar.gz
bcm5719-llvm-d8d84eb0af9b80088ab7c3f588522f568a3850ab.zip
Depend on config.status instead of config.h, because config.h timestamp may not
change even though configure changes. llvm-svn: 8923
-rw-r--r--llvm/Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 33205b2e0af..278df674dfc 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -59,7 +59,7 @@ VPATH=$(SourceDir)
###########################################################################
# Ensure people re-run configure when it gets updated
-all::$(LLVM_OBJ_ROOT)/include/Config/config.h
+all::$(LLVM_OBJ_ROOT)/config.status
ifdef SHARED_LIBRARY
# if SHARED_LIBRARY is specified, the default is to build the dynamic lib
@@ -780,7 +780,7 @@ $(BUILD_OBJ_DIR)/Depend/%.d: %.c $(BUILD_OBJ_DIR)/Depend/.dir
#
# Autoconf Dependencies.
#
-$(LLVM_OBJ_ROOT)/include/Config/config.h:: $(LLVM_SRC_ROOT)/configure
+$(LLVM_OBJ_ROOT)/config.status:: $(LLVM_SRC_ROOT)/configure
@${ECHO} "You need to re-run $(LLVM_SRC_ROOT)/configure"
@${ECHO} "inside the directory $(LLVM_OBJ_ROOT)"
$(VERB) exit 1
OpenPOWER on IntegriCloud