1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/test/Regression/Assembler/Makefile

24 lines
670 B
Makefile
Raw Normal View History

2002-01-23 22:40:31 +01:00
# 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
2002-01-23 22:40:31 +01:00
all:: $(addprefix Output/, $(TESTS:%.ll=%.tbc))
Output/%.tbc: %.ll $(LAS) Output/.dir
@echo "======== Assembling $<"
$(LAS) -d -f $< -o $@ > /dev/null 2>&1 || \
2002-01-23 22:40:31 +01:00
( rm -f $@; $(FAILURE) $@ )
all:: $(addprefix Output/, $(FTESTS:%.llx=%.ll.out))
Output/%.ll.out: %.llx Output/.dir $(LAS)
-$(TESTRUNR) $<