1 OCAMLOPTIONS = -package netstring -package netclient -package pxp
5 OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS)
6 OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS)
11 DEPOBJS = csc_pxp_reader.ml configuration.ml \
12 clientHTTP.ml clientHTTP.mli cic.ml deannotate.ml \
13 uriManager.ml uriManager.mli getter.ml getter.mli \
14 pxpUriResolver.ml cicParser3.ml cicParser3.mli \
15 cicParser2.ml cicParser2.mli cicParser.ml \
16 cicParser.mli touch.ml
18 TOUCHOBJS = csc_pxp_reader.cmo configuration.cmo \
19 clientHTTP.cmo cic.cmo deannotate.cmo \
20 uriManager.cmo getter.cmo pxpUriResolver.ml \
21 cicParser3.cmo cicParser2.cmo cicParser.cmo \
25 $(OCAMLDEP) $(DEPOBJS) > .depend
28 $(OCAMLC) -linkpkg -o touch $(TOUCHOBJS)
30 touch.opt: $(TOUCHOBJS:.cmo=.cmx)
31 $(OCAMLOPT) -linkpkg -o touch.opt $(TOUCHOBJS:.cmo=.cmx)
33 .SUFFIXES: .ml .mli .cmo .cmi .cmx
42 rm -f *.cm[iox] *.o touch touch.opt