llvm-6502/test/LLC/Makefile
Chris Lattner 51ed58d8af Fix makefile to work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3203 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 20:50:54 +00:00

16 lines
474 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/, $(filter-out %.c, $(TESTS:%.ll=%.ts)))
Output/%.ts: Output/%.bc $(LLC) Output/.dir
@echo "======== Compiling $< =========="
$(LLC) -f $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )