X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2FMakefile;h=723a5265a9f812ed0a6fc1aa3fe9e8f550b2747f;hb=60a6a789a1e4dbac5373bc44a9aa005b618e3716;hp=722f35587f515eb1e6dd2b1b2361e93dda8e7e59;hpb=1961efbf933f1e50a2b386c3668097b7a79be157;p=fedora-mingw.git diff --git a/ocaml/Makefile b/ocaml/Makefile index 722f355..723a526 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,19 +1,44 @@ # -*- 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 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 $@ + clean: - rm -f test1 test2 *.exe *.cmi *.cmx *.o + rm -f test[1-4] test_format sudoku *.exe *.cmi *.cmx *.o