mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
* This directory should only contain LLVM tests anyway git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5411 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
505 B
Makefile
18 lines
505 B
Makefile
# test/Regression/LLC/Makefile
|
|
#
|
|
# This directory contains regression tests for the LLVM sparc backend.
|
|
#
|
|
LEVEL = ../../..
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
# 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) $@ )
|