mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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 $<
|