X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2FMakefile;h=fe653ef231fbb35998a56f071c7ea3ab8e5a08c5;hb=fe3ca3d2cf684751b9943bf498b296e36e9e260d;hp=722f35587f515eb1e6dd2b1b2361e93dda8e7e59;hpb=1961efbf933f1e50a2b386c3668097b7a79be157;p=fedora-mingw.git diff --git a/ocaml/Makefile b/ocaml/Makefile index 722f355..fe653ef 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,19 +1,72 @@ # -*- Makefile -*- # Test programs for testing out the cross-compiler. -all: test1 test1.exe test2 test2.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 $@ -test2: test2.ml - ocamlopt unix.cmxa $< -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 test1 test2 *.exe *.cmi *.cmx *.o + rm -f test[1-4] test_format sudoku test_buffer test_overflow \ + test_float test_float2 \ + *.exe *.cmi *.cmx *.o