summaryrefslogtreecommitdiffstats
path: root/test/LLC/Makefile
blob: 0aecc83090161f48b77d689dbc1d8dd8d81a466e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#                    test/Regression/LLC/Makefile
#
# This directory contains regression tests for the LLVM sparc backend.  
#
LEVEL = ../../..
include $(LEVEL)/test/Programs/SingleSource/Makefile.singlesrc

TESTS := $(wildcard *.ll) $(wildcard *.c)

all:: $(addprefix Output/, $(filter-out %.c, $(TESTS:%.ll=%.ts)))

Output/%.ts: Output/%.bc $(LLC) Output/.dir
	@echo "======== Compiling $< =========="
	$(LLC) -f $< -o $@ || \
                 ( rm -f $@; $(FAILURE) $@ )