From b18a515a72706c3656dd75ee3b0115ddf592d395 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 28 Sep 2001 14:13:09 +0000 Subject: [PATCH] Add commands to assemble and compile a .ll file llvm-svn: 661 --- test/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/Makefile b/test/Makefile index 516780f5b31..9f77a42a4f9 100644 --- a/test/Makefile +++ b/test/Makefile @@ -39,3 +39,9 @@ clean : @echo "Generating machine instructions for $<" $(AS) < $< | $(LLC) $(LLCOPTS) > $@ +%.s: %.ll $(LLC) $(AS) + $(AS) < $< | $(LLC) > $@ + +%.o: %.s %.ll + as -xarch=v9 $< +