]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/lablgtk_gtkmathview/lablgtk-20000829_gtkmathview-0.2.0/minidom/Makefile
db9447feee58f536c34f6eab3769048a5a45cd5c
[helm.git] / helm / DEVEL / lablgtk_gtkmathview / lablgtk-20000829_gtkmathview-0.2.0 / minidom / Makefile
1
2 all: test
3
4 opt: test.opt
5
6 ml_minidom.o: ml_minidom.c
7         gcc -c -I/usr/lib/ocaml/caml/ `glib-config --cflags` `xml-config --cflags` `gtkmathview-config --cflags` $<
8
9 minidom.cmi: minidom.mli
10         ocamlc -c $<
11
12 minidom.cmo: minidom.ml minidom.cmi
13         ocamlc -c $<
14
15 minidom.cmx: minidom.ml minidom.cmi
16         ocamlopt -c $<
17
18 test.cmo: test.ml minidom.cmo
19         ocamlc -c test.ml
20
21 test.cmx: test.ml minidom.cmx
22         ocamlopt -c test.ml
23
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`"
28
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`"
33
34 clean:
35         rm -f *.o *.cm? test test.opt