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