diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-07-28 12:13:15 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-07-28 12:13:15 +0000 |
commit | 04d0d602ef7245fd566debd91bcb148acd9ed067 (patch) | |
tree | 77a11f3e551303521aa72af1e63cea0285bcd1bc /test/spass | |
parent | b8e535ccf82385573f80f6d146c04892b25ea0a6 (diff) |
PowerPC port: refactored the expansion of built-in functions and
pseudo-instructions so that it does not need to be re-done in
cchecklink.
cchecklink: updated accordingly.
testsuite: compile with -sdump and run cchecklink if supported.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2553 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/spass')
-rw-r--r-- | test/spass/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/spass/Makefile b/test/spass/Makefile index 6797475..6a4cd59 100644 --- a/test/spass/Makefile +++ b/test/spass/Makefile @@ -2,6 +2,10 @@ include ../../Makefile.config CC=../../ccomp CFLAGS=-stdlib ../../runtime -dparse -dclight -dasm -fstruct-return +ifeq ($(CCHECKLINK),true) +CCHECK=../../cchecklink +CFLAGS+= -sdump +endif SRCS=analyze.c clause.c clock.c closure.c cnf.c component.c \ condensing.c context.c defs.c dfgparser.c dfgscanner.c doc-proof.c \ @@ -19,7 +23,7 @@ spass: $(SRCS:.c=.o) clean: rm -f spass - rm -f *.o *.s *.parsed.c *.light.c + rm -f *.o *.s *.parsed.c *.light.c *.sdump test: ./spass small_problem.dfg | grep 'Proof found' @@ -30,6 +34,10 @@ TIME=xtime -o /dev/null # Xavier's hack bench: @echo -n "spass: "; $(TIME) ./spass problem.dfg +ccheck: + @echo "---- spass" + @$(CCHECK) -exe spass *.sdump + depend: gcc -MM $(SRCS) > .depend |