Checkin first unit testcases for the backend
[oota-llvm.git] / test / LLC / Makefile
1 #                    test/Regression/LLC/Makefile
2 #
3 # This directory contains regression tests for the LLVM sparc backend.  
4 #
5 LEVEL = ../../..
6 include $(LEVEL)/test/Makefile.tests
7
8 TESTS := $(wildcard *.ll)
9
10 all:: $(addprefix Output/, $(TESTS:%.ll=%.ts))
11
12 Output/%.ts: Output/%.bc $(LLC) Output/.dir
13         @echo "======== Compiling $< =========="
14         $(LLC) -f $< -o $@ || \
15                  ( rm -f $@; $(FAILURE) $@ )