From: Chris Lattner Date: Sat, 26 Jan 2002 22:48:08 +0000 (+0000) Subject: Make gcc tests depend on the part of GCC that actually gets updated. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=296a360dc5db9a23827291fbf90ccfe98f3c7fa9;p=oota-llvm.git 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 --- diff --git a/test/Makefile.tests b/test/Makefile.tests index 21c4b7cb433..905531a8843 100644 --- a/test/Makefile.tests +++ b/test/Makefile.tests @@ -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) $@ )