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
11 i686-pc-mingw32-ocamlopt $< -o $@
14 ocamlopt unix.cmxa $< -o $@
17 i686-pc-mingw32-ocamlopt unix.cmxa $< -o $@
20 ocamlopt graphics.cmxa $< -o $@
23 i686-pc-mingw32-ocamlopt graphics.cmxa $< -o $@
26 ocamlopt graphics.cmxa $< -o $@
29 i686-pc-mingw32-ocamlopt graphics.cmxa $< -o $@
31 test_format: test_format.ml
34 test_format.exe: test_format.ml
35 i686-pc-mingw32-ocamlopt $< -o $@
41 i686-pc-mingw32-ocamlopt $< -o $@
44 rm -f test[1-4] test_format sudoku *.exe *.cmi *.cmx *.o