mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
009505452b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
421 B
Makefile
21 lines
421 B
Makefile
TESTS := $(wildcard *.ll)
|
|
|
|
test all : testasmdis testopt
|
|
@echo "All tests successfully completed!"
|
|
|
|
testasmdis : $(TESTS:%.ll=%.ll.asmdis)
|
|
@echo "All assembler/disassembler test succeeded!"
|
|
|
|
testopt : $(TESTS:%.ll=%.ll.opt)
|
|
|
|
clean :
|
|
rm -f *.[123] *.bc core
|
|
|
|
%.asmdis: %
|
|
@echo "Running assembler/disassembler test on $<"
|
|
@./TestAsmDisasm.sh $<
|
|
|
|
%.opt: %
|
|
@echo "Running optimizier test on $<"
|
|
@./TestOptimizer.sh $<
|