2 # Test programs for testing out the cross-compiler.
4 all: test1 test1.exe test2 test2.exe test3 test3.exe test4 test4.exe \
5 test_format test_format.exe sudoku sudoku.exe \
6 test_buffer test_buffer.exe test_overflow test_overflow.exe \
7 test_float test_float.exe test_float2 test_float2.exe
13 i686-pc-mingw32-ocamlopt $< -o $@
16 ocamlopt unix.cmxa $< -o $@
19 i686-pc-mingw32-ocamlopt unix.cmxa $< -o $@
22 ocamlopt graphics.cmxa $< -o $@
25 i686-pc-mingw32-ocamlopt graphics.cmxa $< -o $@
28 ocamlopt graphics.cmxa $< -o $@
31 i686-pc-mingw32-ocamlopt graphics.cmxa $< -o $@
33 test_format: test_format.ml
36 test_format.exe: test_format.ml
37 i686-pc-mingw32-ocamlopt $< -o $@
43 i686-pc-mingw32-ocamlopt $< -o $@
45 test_buffer: test_buffer.ml
48 test_buffer.exe: test_buffer.ml
49 i686-pc-mingw32-ocamlopt $< -o $@
51 test_overflow: test_overflow.ml
54 test_overflow.exe: test_overflow.ml
55 i686-pc-mingw32-ocamlopt $< -o $@
57 test_float: test_float.ml
60 test_float.exe: test_float.ml
61 i686-pc-mingw32-ocamlopt $< -o $@
63 test_float2: test_float2.ml
66 test_float2.exe: test_float2.ml
67 i686-pc-mingw32-ocamlopt $< -o $@
70 rm -f test[1-4] test_format sudoku test_buffer test_overflow \
71 test_float test_float2 \