mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
fb311eb775
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6088 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
642 B
Makefile
23 lines
642 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.
|
|
#
|
|
LL_TESTS := $(wildcard *.ll)
|
|
LLX_TESTS := $(wildcard *.llx)
|
|
|
|
all:: $(addprefix Output/, $(LL_TESTS:%.ll=%.ts))
|
|
all:: $(addprefix Output/, $(LLX_TESTS:%.llx=%.llx.out))
|
|
|
|
Output/%.ts: Output/%.bc $(LLC) Output/.dir
|
|
@echo "======== Compiling $< =========="
|
|
$(LLC) -f $< -o $@ || \
|
|
( rm -f $@; $(FAILURE) $@ )
|
|
|
|
Output/%.llx.out: %.llx Output/.dir $(LLC)
|
|
-$(TESTRUNR) $<
|