-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
25 lines (17 loc) · 814 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
all : _build/coqoune _build/parse_expr
_build/parse_expr : _build/parse_expr.cmo
ocamlc $^ -o _build/parse_expr
_build/parse_expr.cmo : parse_expr.ml
ocamlc $^ -c -o _build/parse_expr.cmo
_build/coqoune : _build/xml.cmo _build/data.cmo _build/usercmd.cmo _build/interface.cmo _build/coqoune.cmo
ocamlc -I _build unix.cma $^ -o _build/coqoune
_build/coqoune.cmo : _build/xml.cmo _build/data.cmo _build/usercmd.cmo _build/interface.cmo coqoune.ml
ocamlc -I _build -c -o _build/coqoune.cmo coqoune.ml
_build/xml.cmo : xml.ml
ocamlc -I _build -c -o $@ $<
_build/data.cmo : data.ml _build/xml.cmo
ocamlc -I _build -c -o $@ $<
_build/usercmd.cmo : usercmd.ml _build/data.cmo
ocamlc -I _build -c -o $@ $<
_build/interface.cmo : interface.ml _build/xml.cmo _build/data.cmo
ocamlc -I _build -c -o $@ $<