compilation de depend.cmx pour ocamldoc

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4544 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Maxence Guesdon 2002-03-18 16:44:54 +00:00
parent 414d2b1ac5
commit 7ec1f0c540
2 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,7 @@ include ../config/Makefile
CAMLRUN=../boot/ocamlrun
CAMLC=$(CAMLRUN) ../boot/ocamlc -I ../boot
CAMLOPT=../ocamlopt
CAMLLEX=$(CAMLRUN) ../boot/ocamllex
INCLUDES=-I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp \
-I ../driver
@ -24,6 +25,8 @@ LINKFLAGS=$(INCLUDES)
all: ocamldep ocamlprof ocamlcp ocamlmktop ocamlmklib scrapelabels addlabels
opt.opt: depend.cmx
# The dependency generator
CAMLDEP_OBJ=depend.cmo ocamldep.cmo
@ -34,6 +37,9 @@ CAMLDEP_IMPORTS=misc.cmo config.cmo clflags.cmo terminfo.cmo \
ocamldep: depend.cmi $(CAMLDEP_OBJ)
$(CAMLC) $(LINKFLAGS) -o ocamldep $(CAMLDEP_IMPORTS) $(CAMLDEP_OBJ)
depend.cmx:
$(CAMLOPT) $(INCLUDES) depend.ml
clean::
rm -f ocamldep

View File

@ -16,6 +16,7 @@
CAMLRUN=..\boot\ocamlrun
CAMLC=$(CAMLRUN) ..\boot\ocamlc -I ..\boot
CAMLOPT=../ocamlopt
CAMLLEX=$(CAMLRUN) ..\boot\ocamllex
INCLUDES=-I ..\utils -I ..\parsing -I ..\typing -I ..\bytecomp -I ..\asmcomp \
-I ..\driver
@ -24,6 +25,8 @@ LINKFLAGS=$(INCLUDES)
all: ocamldep ocamlprof ocamlcp.exe ocamlmktop.exe primreq
opt.opt: depend.cmx
# The dependency generator
CAMLDEP=depend.cmo ocamldep.cmo
@ -34,6 +37,9 @@ CAMLDEP_IMPORTS=misc.cmo config.cmo clflags.cmo terminfo.cmo \
ocamldep: depend.cmi $(CAMLDEP)
$(CAMLC) $(LINKFLAGS) -o ocamldep $(CAMLDEP_IMPORTS) $(CAMLDEP)
depend.cmx: depend.ml
$(CAMLOPT) $(INCLUDES) depend.ml
clean::
rm -f ocamldep