Skip to content

Commit

Permalink
Depend on config.status instead of config.h, because config.h timesta…
Browse files Browse the repository at this point in the history
…mp may not

change even though configure changes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8923 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
mbrukman committed Oct 7, 2003
1 parent 6061000 commit 94fe1f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 94fe1f9

Please sign in to comment.