aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-02-05 15:34:49 +0100
committerGaëtan Gilbert2019-02-06 11:17:49 +0100
commitf29aa6720eba884533972530b4283bf19d8410aa (patch)
tree8f48cdb1cf3ccf5218cc7597000675514085ae06 /Makefile.common
parent37b900aeda68ae1e067a7770c16c11ea327a14dc (diff)
Makefiles: Fixes for byte compilation
- default targets don't depend on ocamlopt when it's unavailable - coqc.byte is built by byte target and coqc by coqbinaries target - unit tests use best ocaml - poly-capture-global-univs tests ml compilation with ocamlc - don't try to install .cmx and native-compute .o files cf https://github.com/coq/coq/issues/9464
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 8292158ef8..bd0e19cd00 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -75,10 +75,12 @@ endif
# for Declare ML Module files.
ifeq ($(BEST),opt)
+TOPBIN:=$(TOPBINOPT)
COQTOPBEST:=$(COQTOPEXE)
DYNOBJ:=.cmxs
DYNLIB:=.cmxs
else
+TOPBIN:=$(TOPBYTE)
COQTOPBEST:=$(COQTOPBYTE)
DYNOBJ:=.cmo
DYNLIB:=.cma