1 # test/Regression/CFrontend/Makefile
3 # This directory contains regression tests for the GCC C frontend for LLVM.
4 # These tests are C source files that are input to GCC and compiled to .ll
5 # files. After that, the files are assembled by the LLVM 'as' program to make
6 # sure GCC emitted something valid. This is intended to catch crashers and bad
7 # output by GCC. Miscompilations by GCC should be caught by the
8 # test/Programs/SingleSource/UnitTests test suite
11 include $(LEVEL)/test/Makefile.tests
13 TESTS := $(wildcard *.c)
14 TR_TESTS := $(wildcard *.c.tr)
16 all:: $(addprefix Output/, $(TESTS:%.c=%.tbc))
17 all:: $(addprefix Output/, $(TR_TESTS:%=%.out))
19 Output/%.c.tr.out: %.c.tr Output/.dir $(LCC1)