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