1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/CodeGen/Generic/Makefile
Dan Gohman bf08e82d8e Remove obsolete -f flags.
llvm-svn: 79992
2009-08-25 15:38:29 +00:00

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,$@)