From 3d754fbcaa0f9d1de8ffa208a65d71aa0c7ec7d3 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@661 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 $< +