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
This commit is contained in:
Chris Lattner 2001-09-28 14:13:09 +00:00
parent 41fbf305ee
commit 3d754fbcaa

View 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 $<