diff options
-rwxr-xr-x | boot/ocamlc | bin | 1294591 -> 1294859 bytes | |||
-rw-r--r-- | tools/Makefile.shared | 7 |
2 files changed, 5 insertions, 2 deletions
diff --git a/boot/ocamlc b/boot/ocamlc Binary files differindex 3f243d69e..7d2e515f1 100755 --- a/boot/ocamlc +++ b/boot/ocamlc diff --git a/tools/Makefile.shared b/tools/Makefile.shared index b36a992b7..b46cb9e69 100644 --- a/tools/Makefile.shared +++ b/tools/Makefile.shared @@ -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:: |