1 #(******************************************************)
2 #(* Claudio Sacerdoti Coen <sacerdot@cs.unibo.it> *)
4 #(******************************************************)
15 DEPOBJS = ucs2_to_utf8.ml lexer.ml parser.ml parser.mli types.ml
17 UCS2_TO_UTF8OBJS = types.cmo lexer.cmo parser.cmo ucs2_to_utf8.cmo
18 UCS2_TO_UTF8OPTOBJS = types.cmx lexer.cmx parser.cmx ucs2_to_utf8.cmx
24 $(OCAMLYACC) parser.mly
27 $(OCAMLYACC) parser.mly
29 depend: lexer.ml parser.ml parser.mli
30 $(OCAMLDEP) $(DEPOBJS) > depend
32 ucs2_to_utf8: $(UCS2_TO_UTF8OBJS)
33 $(OCAMLC) -o ucs2_to_utf8 $(UCS2_TO_UTF8OBJS)
35 ucs2_to_utf8.opt: $(UCS2_TO_UTF8OPTOBJS)
36 $(OCAMLOPT) -o ucs2_to_utf8.opt $(UCS2_TO_UTF8OPTOBJS)
38 .SUFFIXES: .ml .mli .cmo .cmi .cmx
47 rm -f *.cm[iox] *.o lexer.ml parser.ml parser.mli \
48 ucs2_to_utf8 ucs2_to_utf8.opt