mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2905 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
672 B
Makefile
24 lines
672 B
Makefile
# test/Regression/Assembler/Makefile
|
|
#
|
|
# This directory contains regression tests for the LLVM assembler program.
|
|
# These LLVM source file tests are just required to assembler properly to pass.
|
|
#
|
|
LEVEL = ../../..
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
TESTS := $(wildcard *.ll)
|
|
FTESTS := $(wildcard *.llx) # Freeform tests
|
|
|
|
all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
|
|
|
|
Output/%.tbc: %.ll $(LAS) Output/.dir
|
|
@echo "======== Assembling $<"
|
|
$(LAS) -d -f $< -o $@ > /dev/null 2>&1 || \
|
|
( rm -f $@; $(FAILURE) $@ )
|
|
|
|
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
|
|
|
|
Output/%.llx.out: %.llx Output/.dir $(LAS)
|
|
-$(TESTRUNR) $<
|
|
|