blob: 5c1694184061696936a48adf37fe819e00bd20f5 (
plain)
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
26
27
|
ROOT=../..
OCAMLC=$(ROOT)/boot/ocamlrun $(ROOT)/ocamlc -I $(ROOT)/stdlib -I $(ROOT)/parsing -I $(ROOT)/utils -w A-4-9
ast_mapper.cmo: ast_mapper.ml
$(OCAMLC) -c $<
tracer.exe: ast_mapper.cmo tracer.ml
$(OCAMLC) -o $@ $(ROOT)/compilerlibs/ocamlcommon.cma ast_mapper.cmo tracer.ml
ifdef.exe: ast_mapper.cmo ifdef.ml
$(OCAMLC) -o $@ $(ROOT)/compilerlibs/ocamlcommon.cma ast_mapper.cmo ifdef.ml
js_syntax.exe: ast_mapper.cmo js_syntax.ml
$(OCAMLC) -o $@ $(ROOT)/compilerlibs/ocamlcommon.cma ast_mapper.cmo js_syntax.ml
test_trace.exe: tracer.exe test_trace.ml
$(OCAMLC) -o test_trace.exe -ppx ./tracer.exe test_trace.ml
test_ifdef.exe: ifdef.exe test_ifdef.ml
$(OCAMLC) -o test_ifdef.exe -ppx ./ifdef.exe test_ifdef.ml
test_js.exe: js_syntax.exe test_js.ml
$(OCAMLC) -o test_ifdef.exe -i -ppx ./js_syntax.exe test_js.ml
clean:
rm -f *.exe *.cm*
|