From: Stephane Glondu Date: Wed, 7 Aug 2024 03:43:39 +0200 Subject: Fix compilation with OCaml 5.2.0 --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 43fb133..3c651ab 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,8 @@ OCAMLC=ocamlc OCAMLOPT=ocamlopt CAMLP5=camlp5r -I ext OBJS=cursor.cmo ledit.cmo go.cmo -OTHER_OBJS=unix.cma -I `camlp5 -where` gramlib.cma -OTHER_XOBJS=unix.cmxa -I `camlp5 -where` gramlib.cmxa +OTHER_OBJS=unix.cma -I +camlp-streams camlp_streams.cma -I `camlp5 -where` gramlib.cma +OTHER_XOBJS=unix.cmxa -I +camlp-streams camlp_streams.cmxa -I `camlp5 -where` gramlib.cmxa TARGET=ledit.out MKDIR=mkdir -p EXT=ext/pa_def.cmo ext/pa_local.cmo @@ -66,16 +66,16 @@ include .depend ext/%.cmo: ext/%.ml camlp5r -I ext -loc loc $< -o ext/$*.ppo - $(OCAMLC) -I `camlp5 -where` -c -impl ext/$*.ppo + $(OCAMLC) -I +camlp-streams -I `camlp5 -where` -c -impl ext/$*.ppo rm -f ext/$*.ppo %.cmo: %.ml $(CAMLP5) $< -o $*.ppo - $(OCAMLC) -I `camlp5 -where` -c -impl $*.ppo + $(OCAMLC) -I +camlp-streams -I `camlp5 -where` -c -impl $*.ppo /bin/rm -f $*.ppo %.cmx: %.ml $(CAMLP5) $< -o $*.ppo - $(OCAMLOPT) -I `camlp5 -where` -c -impl $*.ppo + $(OCAMLOPT) -I +camlp-streams -I `camlp5 -where` -c -impl $*.ppo /bin/rm -f $*.ppo %.cmi: %.mli $(CAMLP5) $< -o $*.ppi