Make gcc tests depend on the part of GCC that actually gets updated.
authorChris Lattner <sabre@nondot.org>
Sat, 26 Jan 2002 22:48:08 +0000 (22:48 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 26 Jan 2002 22:48:08 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1589 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile.tests

index 21c4b7cb4335f6b52630e6e2f97834824d616433..905531a8843273e42fd1bc4b176c2aecd0e0abb9 100644 (file)
@@ -19,6 +19,7 @@ include ${LEVEL}/Makefile.common
 # LLVM Tool Definitions...
 #
 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
 LLI      = $(TOOLS)/lli
 LLC      = $(TOOLS)/llc
@@ -56,7 +57,7 @@ clean ::
        $(RM) a.out core
        $(RM) -rf Output/
 
-Output/%.ll: %.c $(LCC) Output/.dir
+Output/%.ll: %.c $(LCC1) Output/.dir
        $(LCC) $(LCCFLAGS) -S $< -o $@
 
 Output/%.bc: Output/%.ll $(LGCCAS)
@@ -68,7 +69,7 @@ Output/%.bc: %.ll $(LAS)
 #
 # Testing versions of provided utilities...
 #
-Output/%.tll: %.c $(LCC) Output/.dir
+Output/%.tll: %.c $(LCC1) Output/.dir
        @echo "======== Compiling $<"
        $(LCC) $(LCCFLAGS) -S $< -o $@ || \
            ( rm -f $@; $(FAILURE) $@ )