mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Use absolute path name for "analyze" since we are changing directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ec3e2f41cd
commit
1b3b4c5ab0
@ -8,13 +8,16 @@
|
||||
LEVEL = ../../../..
|
||||
include $(LEVEL)/test/Makefile.tests
|
||||
|
||||
## Get absolute pathname for analyze
|
||||
LANALYZE_ABS := $(shell cd `dirname $(LANALYZE)`; pwd)/analyze
|
||||
|
||||
TESTS := $(wildcard *.ll)
|
||||
FTESTS := $(wildcard *.llx) # Freeform tests
|
||||
|
||||
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
|
||||
|
||||
Output/%.out: %.ll $(LANALYZE) Output/.dir
|
||||
(cd Output/; $(LANALYZE) -datastructure ../$< || \
|
||||
(cd Output/; $(LANALYZE_ABS) -datastructure ../$< || \
|
||||
( rm -f ../$@; ../$(FAILURE) ../$@ ))
|
||||
|
||||
all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out))
|
||||
|
Loading…
Reference in New Issue
Block a user