summaryrefslogtreecommitdiffstats
path: root/test/Transforms/DecomposeMultiDimRefs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/DecomposeMultiDimRefs/Makefile')
-rw-r--r--test/Transforms/DecomposeMultiDimRefs/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/DecomposeMultiDimRefs/Makefile b/test/Transforms/DecomposeMultiDimRefs/Makefile
index dac45da..fdbf3fa 100644
--- a/test/Transforms/DecomposeMultiDimRefs/Makefile
+++ b/test/Transforms/DecomposeMultiDimRefs/Makefile
@@ -8,3 +8,12 @@
LEVEL = ../../../..
include $(LEVEL)/test/Programs/SingleSource/Makefile.singlesrc
+LLTESTS := $(wildcard *.ll)
+CTESTS := $(wildcard *.c)
+TESTS := $(LLTESTS) $(CTESTS)
+
+all:: $(addprefix Output/, $(LLTESTS:%.ll=%.ll.out))
+
+Output/%.ll.out: %.ll Output/.dir $(LOPT)
+ -$(TESTRUNR) $<
+