Get the Unix module working.
[fedora-mingw.git] / ocaml / Makefile
1 # -*- Makefile -*-
2 # Test programs for testing out the cross-compiler.
3
4 all: test1 test1.exe test2 test2.exe
5
6 test1: test1.ml
7         ocamlopt $< -o $@
8
9 test2: test2.ml
10         ocamlopt unix.cmxa $< -o $@
11
12 test1.exe: test1.ml
13         i686-pc-mingw32-ocamlopt $< -o $@
14
15 test2.exe: test2.ml
16         i686-pc-mingw32-ocamlopt unix.cmxa $< -o $@
17
18 clean:
19         rm -f test1 test2 *.exe *.cmi *.cmx *.o