Make gcc tests depend on the part of GCC that actually gets updated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-01-26 22:48:08 +00:00
parent 699a7bfd6b
commit 296a360dc5

View File

@ -19,6 +19,7 @@ include ${LEVEL}/Makefile.common
# LLVM Tool Definitions... # LLVM Tool Definitions...
# #
LCC = /home/vadve/lattner/cvs/gcc_install/bin/gcc LCC = /home/vadve/lattner/cvs/gcc_install/bin/gcc
LCC1 = /home/vadve/lattner/cvs/gcc_install/lib/gcc-lib/llvm/3.1/cc1
TOOLS = $(LEVEL)/tools/Debug TOOLS = $(LEVEL)/tools/Debug
LLI = $(TOOLS)/lli LLI = $(TOOLS)/lli
LLC = $(TOOLS)/llc LLC = $(TOOLS)/llc
@ -56,7 +57,7 @@ clean ::
$(RM) a.out core $(RM) a.out core
$(RM) -rf Output/ $(RM) -rf Output/
Output/%.ll: %.c $(LCC) Output/.dir Output/%.ll: %.c $(LCC1) Output/.dir
$(LCC) $(LCCFLAGS) -S $< -o $@ $(LCC) $(LCCFLAGS) -S $< -o $@
Output/%.bc: Output/%.ll $(LGCCAS) Output/%.bc: Output/%.ll $(LGCCAS)
@ -68,7 +69,7 @@ Output/%.bc: %.ll $(LAS)
# #
# Testing versions of provided utilities... # Testing versions of provided utilities...
# #
Output/%.tll: %.c $(LCC) Output/.dir Output/%.tll: %.c $(LCC1) Output/.dir
@echo "======== Compiling $<" @echo "======== Compiling $<"
$(LCC) $(LCCFLAGS) -S $< -o $@ || \ $(LCC) $(LCCFLAGS) -S $< -o $@ || \
( rm -f $@; $(FAILURE) $@ ) ( rm -f $@; $(FAILURE) $@ )