llvm-6502/test/LLC/Makefile
2002-09-23 14:23:15 +00:00

18 lines
531 B
Makefile

# test/Regression/LLC/Makefile
#
# This directory contains regression tests for the LLVM sparc backend.
#
LEVEL = ../../..
include $(LEVEL)/test/Programs/SingleSource/Makefile.singlesrc
# Only .ll tests here. C tests are run via Makefile.singlesrc above.
#
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(filter-out %.c, $(TESTS:%.ll=%.ts)))
Output/%.ts: Output/%.bc $(LLC) Output/.dir
@echo "======== Compiling $< =========="
$(LLC) -f $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )