aboutsummaryrefslogtreecommitdiff
path: root/Makefile.stage2
diff options
context:
space:
mode:
authorletouzey2010-03-04 16:18:07 +0000
committerletouzey2010-03-04 16:18:07 +0000
commit58a5a535b138c6a3e98bc3631ebe3e0e2bc3fcd5 (patch)
tree4e085ae797dbfa93161deb5733c2343147ac5509 /Makefile.stage2
parent4d44ec1d6b4bbcb05418738df6ce611ee6c31b01 (diff)
Makefile: the .ml of .ml4 are now produced explicitely (in binary ast form)
- This way, the Makefile.build gets shorter and simplier, with a few nasty hacks removed. - In particular, we stop creating dummy .ml of .ml4 early "to please ocamldep". Instead, we now use ocamldep -modules, and process its output via coqdep_boot. This ways, *.cm* of .ml4 are correctly located, even when some .ml files aren't generated yet. - There is no risk of editing the .ml of a .ml4 by mistake, since it is by default in a binary format (cf pr_o.cmo and variable READABLE_ML4). M-x next-error still open the right .ml4 at the right location. - mltop.byteml is now mltop.ml, while mltop.optml keeps its name - .ml of .ml4 are added to .gitignore git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12833 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'Makefile.stage2')
-rw-r--r--Makefile.stage27
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile.stage2 b/Makefile.stage2
index 8f3d4e8bf7..a7ecddc13e 100644
--- a/Makefile.stage2
+++ b/Makefile.stage2
@@ -13,14 +13,11 @@ include Makefile.doc
.SECONDARY: $(MLLIBFILES:.mllib=.mllib.d)
-include $(filter plugins/%,$(MLLIBFILES:%.mllib=%_mod.ml.d))
.SECONDARY: $(filter plugins/%,$(MLLIBFILES:%.mllib=%_mod.ml.d))
--include $(ML4FILES:.ml4=.ml4.ml.d)
-.SECONDARY: $(ML4FILES:.ml4=.ml4.ml.d)
+-include $(ML4FILES:.ml4=.ml.d)
+.SECONDARY: $(ML4FILES:.ml4=.ml.d)
-include $(VFILES:.v=.v.d)
.SECONDARY: $(VFILES:.v=.v.d)
-.PHONY: stage2
-stage2: world
-
# For emacs:
# Local Variables:
# mode: makefile