diff options
Diffstat (limited to 'books/workshops/1999/multiplier/Makefile')
-rw-r--r-- | books/workshops/1999/multiplier/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/books/workshops/1999/multiplier/Makefile b/books/workshops/1999/multiplier/Makefile new file mode 100644 index 0000000..997dec1 --- /dev/null +++ b/books/workshops/1999/multiplier/Makefile @@ -0,0 +1,48 @@ +top1: + @echo "Using ACL2=$(ACL2)" + $(MAKE) top + +top: fmul.lisp proof.cert + +include ../../../Makefile-generic + +# Avoid provisional certification since we are not using Makefile-deps, which is +# because there are generated .lisp files. +override ACL2_PCERT = + +compiler.cert: compiler.lisp + +proof.cert: proof.lisp +proof.cert: fmul-star.cert + +rtl.cert: rtl.lisp + +spec.cert: spec.lisp +spec.cert: ../../../rtl/rel1/support/fp.cert +spec.cert: ../../../rtl/rel1/lib1/top.cert +spec.cert: rtl.cert +spec.cert: fmul.cert + +fmul-star.lisp: fmul.lisp + +fmul.lisp: compiler.cert fmul.trans + @echo '(value :q)' > workxxx + @echo '(LP)' >> workxxx + @echo '(include-book "compiler")' >> workxxx + @echo '(compile-pipeline "fmul" z)' >> workxxx + @echo '(acl2::value :q)' >> workxxx + @echo '(acl2::exit-lisp)' >> workxxx + $(ACL2) < workxxx > fmul.lisp.log + @rm -f workxxx + +fmul-star.cert: spec.cert + +fmul.cert: rtl.cert + +clean: clean-more + +# Added by Matt K. Sept. 2010 because many *.tem files were lying around: +# rm -f *.tem +clean-more: + rm -f fmul.lisp fmul-star.lisp + rm -f *.tem |