Nouveau ocamllex

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1999-02-12 16:29:36 +00:00
parent e4b35f9f1b
commit 412ab26e00
1 changed files with 4 additions and 7 deletions

View File

@ -13,19 +13,16 @@ all: ocamldep ocamlprof ocamlcp.exe ocamlmktop.exe
# The dependency generator
CAMLDEP=ocamldep.cmo
CAMLDEP_IMPORTS=misc.cmo config.cmo clflags.cmo terminfo.cmo \
linenum.cmo warnings.cmo location.cmo longident.cmo pstream.cmo \
syntaxerr.cmo parser.cmo lexer.cmo parse.cmo
ocamldep: $(CAMLDEP)
$(CAMLC) $(LINKFLAGS) -o ocamldep misc.cmo $(CAMLDEP)
$(CAMLC) $(LINKFLAGS) -o ocamldep $(CAMLDEP_IMPORTS) $(CAMLDEP)
clean::
rm -f ocamldep
ocamldep.ml: ocamldep.mll
$(CAMLLEX) ocamldep.mll
clean::
rm -f ocamldep.ml
install::
cp ocamldep $(BINDIR)\ocamldep.exe