2
include $(TOP_DIR)/Makefile.rules
7
$(MAKE) -f Makefile.code all
12
$(MAKE) -f Makefile.code opt
16
pxp_wlex.ml: pxp_wlex.mlw
17
cp pxp_wlex.mlw pxp_wlex.mll
18
(wlex pxp_wlex.mll; x=$$?; rm pxp_wlex.mll; exit $$x)
21
ocamldep *.ml *.mli >depend
24
rm -f $(CLEAN_LIST) pxp_wlex.ml META
28
# pxp_wlex.ml is contained in the distribution such that users
29
# need not to patch ocaml sources to make wlex.
33
rm -f $(CLEAN_LIST) META
36
files=`$(COLLECT_FILES) *.cmi *.cma *.cmxa *.a pxp_wlex_link.cmo pxp_wlex_link.cmx pxp_wlex_link.o META` && \
37
$(OCAMLFIND) install pxp-wlex $$files
40
$(OCAMLFIND) remove pxp-wlex