aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/Makefile
blob: 674b2b33ff971bef34384d751cb17a0a1b8aa34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#                    test/Regression/Assembler/Makefile
#
# This directory contains regression tests for the LLVM assembler program.  
# These LLVM source file tests are just required to assembler properly to pass.
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests

TESTS := $(wildcard *.ll)

all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))

Output/%.tbc: %.ll $(LAS) Output/.dir
	@echo "======== Assembling $<"
	$(LAS) -f $< -o $@ || \
                 ( rm -f $@; $(FAILURE) $@ )