2e571b299681dbcdca16946a05df22b79ed39ca8
[oota-llvm.git] / test / Assembler / Makefile
1 #                    test/Regression/Assembler/Makefile
2 #
3 # This directory contains regression tests for the LLVM assembler program.  
4 # These LLVM source file tests are just required to assembler properly to pass.
5 #
6 LEVEL = ../../..
7 include $(LEVEL)/test/Makefile.tests
8
9 TESTS := $(wildcard *.ll)
10
11 all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
12
13 Output/%.tbc: %.ll $(LAS) Output/.dir
14         @echo "======== Assembling $<"
15         $(LAS) -d -f $< -o $@ > /dev/null 2>&1 || \
16                  ( rm -f $@; $(FAILURE) $@ )