1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
24 lines
378 B
Makefile
24 lines
378 B
Makefile
# Makefile for running ad-hoc custom LLVM tests
|
|
#
|
|
%.bc: %.ll
|
|
llvm-as $<
|
|
|
|
%.llc.s: %.bc
|
|
llc $< -o $@
|
|
|
|
%.gcc.s: %.c
|
|
gcc -O0 -S $< -o $@
|
|
|
|
%.nat: %.s
|
|
gcc -O0 -lm $< -o $@
|
|
|
|
%.cbe.out: %.cbe.nat
|
|
./$< > $@
|
|
|
|
%.out: %.nat
|
|
./$< > $@
|
|
|
|
%.clean:
|
|
rm -f $(patsubst %.clean,%.bc,$@) $(patsubst %.clean,%.*.s,$@) \
|
|
$(patsubst %.clean,%.*.nat,$@) $(patsubst %.clean,%.*.out,$@)
|