1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Regression/LLC/Makefile
Chris Lattner 91a2826c02 Fix makefile to work.
llvm-svn: 3203
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) $@ )