X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2FMakefile;h=fe653ef231fbb35998a56f071c7ea3ab8e5a08c5;hb=ef1a2719353f89cd77c235888c4e882bb0b1e3b3;hp=9cdd77e14fc2d60bff2c169e04cb17e608b53638;hpb=beae95b189cffa0bf08ae4a3b6734ea639ae5297;p=fedora-mingw.git diff --git a/ocaml/Makefile b/ocaml/Makefile index 9cdd77e..fe653ef 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,7 +1,10 @@ # -*- Makefile -*- # Test programs for testing out the cross-compiler. -all: test1 test1.exe test2 test2.exe test3 test3.exe test4 test4.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 $@ @@ -27,5 +30,43 @@ test4: test4.ml 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 test3 test4 *.exe *.cmi *.cmx *.o + rm -f test[1-4] test_format sudoku test_buffer test_overflow \ + test_float test_float2 \ + *.exe *.cmi *.cmx *.o