1 # test/Regression/LLC/Makefile
3 # This directory contains regression tests for the LLVM sparc backend.
6 include $(LEVEL)/test/Makefile.tests
8 # Only .ll tests here. C tests are run via Makefile.singlesrc above.
10 TESTS := $(wildcard *.ll)
12 all:: $(addprefix Output/, $(filter-out %.c, $(TESTS:%.ll=%.ts)))
14 Output/%.ts: Output/%.bc $(LLC) Output/.dir
15 @echo "======== Compiling $< =========="
16 $(LLC) -f $< -o $@ || \
17 ( rm -f $@; $(FAILURE) $@ )