1 --- Makefile.orig 2008-11-15 22:09:17.000000000 +0000
2 +++ Makefile 2008-11-15 22:10:32.000000000 +0000
4 # http://tech.motion-twin.com
5 .SUFFIXES : .ml .mli .cmo .cmx .cmi .mll .mly
7 -INSTALLDIR=`ocamlc -where`
8 +INSTALLDIR=`ocamlopt -where`
13 ocamlc xml-light.cma test.ml -o test.exe
15 test_opt.exe: xml-light.cmxa
16 - ocamlopt xml-light.cmxa test.ml -o test_opt.exe
17 + i686-pc-mingw32-ocamlopt xml-light.cmxa test.ml -o test_opt.exe
19 xml-light.cma: xml_parser.cmo xml_lexer.cmo dtd.cmo xmlParser.cmo xml.cmo
20 ocamlc -o xml-light.cma $(LFLAGS) $(LIBS) xml_parser.cmo xml_lexer.cmo dtd.cmo xmlParser.cmo xml.cmo
22 xml-light.cmxa: xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
23 - ocamlopt -o xml-light.cmxa $(LFLAGS) $(LIBS) xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
24 + i686-pc-mingw32-ocamlopt -o xml-light.cmxa $(LFLAGS) $(LIBS) xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
26 dtd.cmo: xml.cmi xml_lexer.cmi dtd.cmi
29 ocamlc $(CFLAGS) -c $<
32 - ocamlopt $(CFLAGS) -c $<
33 + i686-pc-mingw32-ocamlopt $(CFLAGS) -c $<
37 + i686-pc-mingw32-ocamlopt $(CFLAGS) $<