llvm-6502/test/LLC/Makefile
Vikram S. Adve 11aedfffce Include Makefile.singlesrc in order to compile .c tests.
Some of these are not regression tests and this directory needs
to be reorganized, but the tests are important.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2866 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-10 22:02:37 +00:00

16 lines
455 B
Makefile

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