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
12 i686-pc-mingw32-ocamlopt $< -o $@
15 ocamlopt unix.cmxa $< -o $@
18 i686-pc-mingw32-ocamlopt unix.cmxa $< -o $@
21 ocamlopt graphics.cmxa $< -o $@
24 i686-pc-mingw32-ocamlopt graphics.cmxa $< -o $@
27 ocamlopt graphics.cmxa $< -o $@
30 i686-pc-mingw32-ocamlopt graphics.cmxa $< -o $@
32 test_format: test_format.ml
35 test_format.exe: test_format.ml
36 i686-pc-mingw32-ocamlopt $< -o $@
42 i686-pc-mingw32-ocamlopt $< -o $@
44 test_buffer: test_buffer.ml
47 test_buffer.exe: test_buffer.ml
48 i686-pc-mingw32-ocamlopt $< -o $@
50 test_overflow: test_overflow.ml
53 test_overflow.exe: test_overflow.ml
54 i686-pc-mingw32-ocamlopt $< -o $@
57 rm -f test[1-4] test_format sudoku test_buffer test_overflow \