mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
New minimal makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1561 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
747604218f
commit
3e81173902
@ -1,37 +1,3 @@
|
||||
LEVEL = ..
|
||||
DIRS = Programs
|
||||
|
||||
TESTS := $(wildcard *.ll)
|
||||
|
||||
LLCTESTS := $(shell /bin/ls *.ll | grep -v testswitch | grep -v opttest | grep -v xx | grep -v calltest | grep -v alloca | grep -v memory )
|
||||
|
||||
|
||||
test all :: testasmdis testopt testsparc
|
||||
@echo "All tests successfully completed!"
|
||||
|
||||
testasmdis : $(TESTS:%.ll=%.ll.asmdis)
|
||||
@echo "All assembler/disassembler test succeeded!"
|
||||
|
||||
testopt : $(TESTS:%.ll=%.ll.opt)
|
||||
|
||||
testselect : $(LLCTESTS:%.ll=%.mc)
|
||||
|
||||
testsched : $(LLCTESTS:%.ll=%.mc)
|
||||
|
||||
testcodegen : $(LLCTESTS:%.ll=%.mc)
|
||||
|
||||
testsparc : $(LLCTESTS:%.ll=%.s)
|
||||
|
||||
%.asmdis: %
|
||||
@echo "Running assembler/disassembler test on $<"
|
||||
@./TestAsmDisasm.sh $<
|
||||
|
||||
%.opt: %
|
||||
@echo "Running optimizier test on $<"
|
||||
@./TestOptimizer.sh $<
|
||||
|
||||
|
||||
## Rules for compiling %.ll, %.bc, %.s files and
|
||||
## for building native SPARC executables.
|
||||
##
|
||||
include Makefile.tests
|
||||
DIRS = Feature Regression Programs
|
||||
include ../Makefile.common
|
Loading…
x
Reference in New Issue
Block a user