summaryrefslogtreecommitdiff
path: root/otherlibs/num/test/Makefile.Mac
blob: a3e21c04b70722de879f5936fdf09d737da95d76 (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
CAMLC = ::::boot:ocamlrun ::::ocamlc -I ::::stdlib:
CAMLOPT = ::::boot:ocamlrun ::::ocamlopt -I ::::stdlib:

test Ä test.byt
    :test.byt

TESTFILES = test.cmo test_nats.cmo test_big_ints.cmo ¶
            test_ratios.cmo test_nums.cmo end_test.cmo

test.byt Ä {TESTFILES} ::nums.cma ::libnums.o
    alias ocamlc "{CAMLC}"
    ::::tools:ocamlc-custom -o test.byt ::nums.cma {TESTFILES} ::libnums.[ox]

.cmo Ä .ml
    {CAMLC} -I :: -c {default}.ml

ocamlnum Ä
    ocamlmktop -o ocamlnum -custom ::nums.cma ::libnums.[ox]

clean Ä
    delete -i test.byt ocamlnum
    delete -i Å.cm[io] || set status 0

depend Ä
    ocamldep Å.ml > Makefile.Mac.depend