Merge branch 'master' into msp430
[llvm/msp430.git] / test / CodeGen / Generic / Makefile
blobd228f69a85661009b97a1e975022e0e0e7244c9d
1 # Makefile for running ad-hoc custom LLVM tests
3 %.bc: %.ll
4 llvm-as -f $<
6 %.llc.s: %.bc
7 llc -f $< -o $@
9 %.gcc.s: %.c
10 gcc -O0 -S $< -o $@
12 %.nat: %.s
13 gcc -O0 -lm $< -o $@
15 %.cbe.out: %.cbe.nat
16 ./$< > $@
18 %.out: %.nat
19 ./$< > $@
21 %.clean:
22 rm -f $(patsubst %.clean,%.bc,$@) $(patsubst %.clean,%.*.s,$@) \
23 $(patsubst %.clean,%.*.nat,$@) $(patsubst %.clean,%.*.out,$@)