aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 516780f..9f77a42 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 $<
+