Add commands to assemble and compile a .ll file
authorChris Lattner <sabre@nondot.org>
Fri, 28 Sep 2001 14:13:09 +0000 (14:13 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 28 Sep 2001 14:13:09 +0000 (14:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@661 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index 516780f5b31ee25d6704925c4609a4a71ef00cb0..9f77a42a4f961a88cc3194dc285a64e2bb4d88e4 100644 (file)
@@ -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 $<
+