1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/Regression/Assembler/Makefile
Chris Lattner 09a356bd6a Add -d switch to test AsmWriter as well
llvm-svn: 2452
2002-05-03 18:31:30 +00:00

17 lines
508 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)
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) $@ )