6 ml_minidom.o: ml_minidom.c
7 gcc -c -I/usr/lib/ocaml/caml/ `glib-config --cflags` `xml-config --cflags` `gtkmathview-config --cflags` $<
9 minidom.cmi: minidom.mli
12 minidom.cmo: minidom.ml minidom.cmi
15 minidom.cmx: minidom.ml minidom.cmi
18 test.cmo: test.ml minidom.cmo
21 test.cmx: test.ml minidom.cmx
24 test: test.cmo minidom.cmo ml_minidom.o
25 ocamlc -custom -o test minidom.cmo test.cmo ml_minidom.o \
26 -cclib "`xml-config --libs`" -cclib "`glib-config --libs`" \
27 -cclib "`gtkmathview-config --libs`"
29 test.opt: test.cmx minidom.cmx ml_minidom.o
30 ocamlopt -o test.opt minidom.cmx test.cmx ml_minidom.o \
31 -cclib "`xml-config --libs`" -cclib "`glib-config --libs`" \
32 -cclib "`gtkmathview-config --libs`"
35 rm -f *.o *.cm? test test.opt