diff options
Diffstat (limited to 'test/Makefile.target')
-rw-r--r-- | test/Makefile.target | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/Makefile.target b/test/Makefile.target index 37ebbbc..36af704 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 $< |