aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-21 22:08:07 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-21 22:08:07 +0200
commit9cc12b684ee6833971c9549aa76cc683ba931090 (patch)
treec3c602e334aea87be90e9d6b4988df225554e454 /Makefile
parentb17a25bae0f9580caadfa5f795a3c12a050075f5 (diff)
downloadcompcert-kvx-9cc12b684ee6833971c9549aa76cc683ba931090.tar.gz
compcert-kvx-9cc12b684ee6833971c9549aa76cc683ba931090.zip
begin scripting the Compiler.v file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a69f7e2e..2f9ab029 100644
--- a/Makefile
+++ b/Makefile
@@ -201,6 +201,8 @@ tools/ndfun: tools/ndfun.ml
ocamlopt -o tools/ndfun str.cmxa tools/ndfun.ml
tools/modorder: tools/modorder.ml
ocamlopt -o tools/modorder str.cmxa tools/modorder.ml
+tools/compiler_expand: tools/compiler_expand.ml
+ ocamlopt -o $@ $+
latexdoc:
cd doc; $(COQDOC) --latex -o doc/doc.tex -g $(FILES)
@@ -216,6 +218,9 @@ latexdoc:
@tools/ndfun $*.vp > $*.v || { rm -f $*.v; exit 2; }
@chmod a-w $*.v
+driver/Compiler.v: driver/Compiler.vexpand tools/compiler_expand
+ tools/compiler_expand driver/Compiler.vexpand $@
+
compcert.ini: Makefile.config
(echo "stdlib_path=$(LIBDIR)"; \
echo "prepro=$(CPREPRO)"; \