X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml-lablgl%2FMakefile;fp=ocaml-lablgl%2FMakefile;h=41b84f4b9f2c40d38511384d172678bcdf13a25b;hb=fadeed295dbd47659d66928fb34ee54aad0f9ac3;hp=0000000000000000000000000000000000000000;hpb=4d853c2dd1748e9c25014db7b114e587f038704c;p=fedora-mingw.git diff --git a/ocaml-lablgl/Makefile b/ocaml-lablgl/Makefile new file mode 100644 index 0000000..41b84f4 --- /dev/null +++ b/ocaml-lablgl/Makefile @@ -0,0 +1,15 @@ +# Test some binaries which use ocaml-lablgl. This builds both the +# Linux native and Windows binaries, so you can compare them. +# +# Note that the demos themselves are non-free, written by Jon Harrop +# and available from his website here: +# http://www.ffconsultancy.com/ocaml/ + +all: balls.opt balls.exe + +%.opt: %.ml + ocamlfind ocamlopt -I +lablGL unix.cmxa lablglut.cmxa lablgl.cmxa $< -o $@ + +%.exe: %.ml + OCAMLFIND_CONF=/etc/i686-pc-mingw32-ocamlfind.conf \ + ocamlfind ocamlopt -I +lablGL lablgl.cmxa $< -o $@