From 9157ee804ffb300adcafc3194a7b9ccb6d89a95a Mon Sep 17 00:00:00 2001 From: Maxence Guesdon Date: Tue, 19 Mar 2002 09:36:24 +0000 Subject: [PATCH] correction cible opt.opt git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4546 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- tools/Makefile | 4 ++-- tools/Makefile.nt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 04d5ec8fd..760b2a2ba 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -16,7 +16,7 @@ include ../config/Makefile CAMLRUN=../boot/ocamlrun CAMLC=$(CAMLRUN) ../boot/ocamlc -I ../boot -CAMLOPT=../ocamlopt +CAMLOPT=$(CAMLRUN) ../ocamlopt CAMLLEX=$(CAMLRUN) ../boot/ocamllex INCLUDES=-I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp \ -I ../driver @@ -38,7 +38,7 @@ ocamldep: depend.cmi $(CAMLDEP_OBJ) $(CAMLC) $(LINKFLAGS) -o ocamldep $(CAMLDEP_IMPORTS) $(CAMLDEP_OBJ) depend.cmx: - $(CAMLOPT) $(INCLUDES) depend.ml + $(CAMLOPT) $(INCLUDES) -I ../stdlib depend.ml clean:: rm -f ocamldep diff --git a/tools/Makefile.nt b/tools/Makefile.nt index 1eddba65b..7cce3e89e 100644 --- a/tools/Makefile.nt +++ b/tools/Makefile.nt @@ -16,7 +16,7 @@ CAMLRUN=..\boot\ocamlrun CAMLC=$(CAMLRUN) ..\boot\ocamlc -I ..\boot -CAMLOPT=../ocamlopt +CAMLOPT==$(CAMLRUN) ../ocamlopt CAMLLEX=$(CAMLRUN) ..\boot\ocamllex INCLUDES=-I ..\utils -I ..\parsing -I ..\typing -I ..\bytecomp -I ..\asmcomp \ -I ..\driver @@ -38,7 +38,7 @@ ocamldep: depend.cmi $(CAMLDEP) $(CAMLC) $(LINKFLAGS) -o ocamldep $(CAMLDEP_IMPORTS) $(CAMLDEP) depend.cmx: depend.ml - $(CAMLOPT) $(INCLUDES) depend.ml + $(CAMLOPT) $(INCLUDES) -I ../stdlib depend.ml clean:: rm -f ocamldep