#5812: compile read_cmt.opt (about 10x faster than read_cmt to generate .annot files).

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13067 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Alain Frisch 2012-11-06 16:55:18 +00:00
parent 961982c7e0
commit 49f50409cd
2 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -28,7 +28,7 @@ all: ocamldep ocamlprof ocamlcp ocamloptp ocamlmktop ocamlmklib dumpobj \
.PHONY: all
opt.opt: ocamldep.opt
opt.opt: ocamldep.opt read_cmt.opt
.PHONY: opt.opt
# The dependency generator
@ -234,8 +234,11 @@ READ_CMT= \
read_cmt: $(READ_CMT)
$(CAMLC) $(LINKFLAGS) -o read_cmt $(READ_CMT)
read_cmt.opt: $(READ_CMT:.cmo=.cmx)
$(CAMLOPT) $(LINKFLAGS) -o read_cmt.opt $(READ_CMT:.cmo=.cmx)
clean::
rm -f read_cmt
rm -f read_cmt read_cmt.opt
beforedepend::