Commits

Vincent Fiack committed c617794

easier build

Comments (0)

Files changed (2)

+#!/bin/sh
+ocamlbuild memory.native sdlmaze.native sdlmills.native
+open Ocamlbuild_plugin
+
+let sdl_libs = ["bigarray"; "sdl"; "sdlloader"; "sdlttf"; "sdlmixer"]
+
+let sdl_flags = ["-I"; "+sdl"]
+
+let _ =
+  (* 
+  Options.ocamlc := S [ A "ocp-ocamlc.opt" ];
+  Options.ocamlopt := S [ A "ocp-ocamlopt.opt" ];
+  *)
+  Options.include_dirs := ["maze"; "mills"; "memory"];
+  Options.ocaml_libs := sdl_libs @ ["unix"];
+  Options.ocaml_cflags := sdl_flags;
+  Options.ocaml_lflags := sdl_flags
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+