llvm-6502/test/LLC/Makefile
2002-04-14 06:23:00 +00:00

16 lines
413 B
Makefile

# test/Regression/LLC/Makefile
#
# This directory contains regression tests for the LLVM sparc backend.
#
LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ts))
Output/%.ts: Output/%.bc $(LLC) Output/.dir
@echo "======== Compiling $< =========="
$(LLC) -f $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )