X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2FMakefile;h=fe653ef231fbb35998a56f071c7ea3ab8e5a08c5;hb=fe3ca3d2cf684751b9943bf498b296e36e9e260d;hp=5f3da01a7ce3c36c86644dcf7739d02e2d63aab6;hpb=82b2f0cab999c58df686f351e416311b6af298ae;p=fedora-mingw.git diff --git a/ocaml/Makefile b/ocaml/Makefile index 5f3da01..fe653ef 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,10 +1,72 @@ # -*- Makefile -*- # Test programs for testing out the cross-compiler. -all: test1 test1.exe +all: test1 test1.exe test2 test2.exe test3 test3.exe test4 test4.exe \ + test_format test_format.exe sudoku sudoku.exe \ + test_buffer test_buffer.exe test_overflow test_overflow.exe \ + test_float test_float.exe test_float2 test_float2.exe test1: test1.ml ocamlopt $< -o $@ test1.exe: test1.ml i686-pc-mingw32-ocamlopt $< -o $@ + +test2: test2.ml + ocamlopt unix.cmxa $< -o $@ + +test2.exe: test2.ml + i686-pc-mingw32-ocamlopt unix.cmxa $< -o $@ + +test3: test3.ml + ocamlopt graphics.cmxa $< -o $@ + +test3.exe: test3.ml + i686-pc-mingw32-ocamlopt graphics.cmxa $< -o $@ + +test4: test4.ml + ocamlopt graphics.cmxa $< -o $@ + +test4.exe: test4.ml + i686-pc-mingw32-ocamlopt graphics.cmxa $< -o $@ + +test_format: test_format.ml + ocamlopt $< -o $@ + +test_format.exe: test_format.ml + i686-pc-mingw32-ocamlopt $< -o $@ + +sudoku: sudoku.ml + ocamlopt $< -o $@ + +sudoku.exe: sudoku.ml + i686-pc-mingw32-ocamlopt $< -o $@ + +test_buffer: test_buffer.ml + ocamlopt $< -o $@ + +test_buffer.exe: test_buffer.ml + i686-pc-mingw32-ocamlopt $< -o $@ + +test_overflow: test_overflow.ml + ocamlopt $< -o $@ + +test_overflow.exe: test_overflow.ml + i686-pc-mingw32-ocamlopt $< -o $@ + +test_float: test_float.ml + ocamlopt $< -o $@ + +test_float.exe: test_float.ml + i686-pc-mingw32-ocamlopt $< -o $@ + +test_float2: test_float2.ml + ocamlopt $< -o $@ + +test_float2.exe: test_float2.ml + i686-pc-mingw32-ocamlopt $< -o $@ + +clean: + rm -f test[1-4] test_format sudoku test_buffer test_overflow \ + test_float test_float2 \ + *.exe *.cmi *.cmx *.o