From: Chris Lattner Date: Sun, 9 Dec 2001 16:55:43 +0000 (+0000) Subject: Use _LOCAL_ gccas to build instead of Chris's X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e5b27bd32052d4d5562d22a3a8ad4298eac3df1c;p=oota-llvm.git Use _LOCAL_ gccas to build instead of Chris's git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1436 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Makefile.target b/test/Makefile.target index 37ebbbc4c34..36af7047fe7 100644 --- a/test/Makefile.target +++ b/test/Makefile.target @@ -16,6 +16,7 @@ LAS = $(TOOLS)/as LDIS = $(TOOLS)/dis LOPT = $(TOOLS)/opt LLINK = $(TOOLS)/link +LGCCAS = $(TOOLS)/gccas LLCFLAGS = LCC = /home/vadve/lattner/cvs/gcc_install/bin/gcc @@ -81,8 +82,11 @@ clean : ## %.ll: %.c ## $(LCC) $(LCFLAGS) -S $< -o $*.ll -%.bc: %.c - $(LCC) $(LCFLAGS) -c $< -o $@ +%.gll: %.c + $(LCC) $(LCFLAGS) -S $< -o $@ + +%.bc: %.gll + $(LGCCAS) $< -o $@ %.bc: %.ll $(LAS) -f $< diff --git a/test/Makefile.tests b/test/Makefile.tests index 37ebbbc4c34..36af7047fe7 100644 --- a/test/Makefile.tests +++ b/test/Makefile.tests @@ -16,6 +16,7 @@ LAS = $(TOOLS)/as LDIS = $(TOOLS)/dis LOPT = $(TOOLS)/opt LLINK = $(TOOLS)/link +LGCCAS = $(TOOLS)/gccas LLCFLAGS = LCC = /home/vadve/lattner/cvs/gcc_install/bin/gcc @@ -81,8 +82,11 @@ clean : ## %.ll: %.c ## $(LCC) $(LCFLAGS) -S $< -o $*.ll -%.bc: %.c - $(LCC) $(LCFLAGS) -c $< -o $@ +%.gll: %.c + $(LCC) $(LCFLAGS) -S $< -o $@ + +%.bc: %.gll + $(LGCCAS) $< -o $@ %.bc: %.ll $(LAS) -f $<