mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
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:
parent
41fbf305ee
commit
3d754fbcaa
@ -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 $<
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user