25 lines
589 B
Makefile
25 lines
589 B
Makefile
|
CAMLC = ::::boot:ocamlrun ::::ocamlc -I ::::stdlib:
|
|||
|
CAMLOPT = ::::boot:ocamlrun ::::ocamlopt -I ::::stdlib:
|
|||
|
|
|||
|
test <EFBFBD> test.byt
|
|||
|
:test.byt
|
|||
|
|
|||
|
TESTFILES = test.cmo test_nats.cmo test_big_ints.cmo <20>
|
|||
|
test_ratios.cmo test_nums.cmo end_test.cmo
|
|||
|
|
|||
|
test.byt <20> {TESTFILES} ::nums.cma ::libnums.o
|
|||
|
{CAMLC} -o test.byt -custom ::nums.cma {TESTFILES} ::libnums.o
|
|||
|
|
|||
|
.cmo <EFBFBD> .ml
|
|||
|
{CAMLC} -I :: -c {default}.ml
|
|||
|
|
|||
|
ocamlnum <EFBFBD>
|
|||
|
ocamlmktop -o ocamlnum -custom ::nums.cma ::libnums.o
|
|||
|
|
|||
|
clean <EFBFBD>
|
|||
|
delete -i test.byt ocamlnum
|
|||
|
delete -i <20>.cm[io] || set status 0
|
|||
|
|
|||
|
depend <EFBFBD>
|
|||
|
ocamldep <20>.ml > Makefile.Mac.depend
|