Nouveau ocamllex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
e4b35f9f1b
commit
412ab26e00
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue