File: INSTALL

package info (click to toggle)
ocamlsdl 0.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,608 kB
  • sloc: ansic: 3,311; sh: 3,103; ml: 2,111; makefile: 180; awk: 13
file content (24 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

Building & Installing
=====================

  $ ./configure

options for configure:
  --without-findlib       do not install using findlib
  --with-installdir=DIR	  specify installation directory [default is +sdl]
  --with-lablgldir=DIR    location of LablGL             [default is +lablGL]
  --disable-sdl-ttf       without SDL_ttf support
  --disable-sdl-image     without SDL_image support
  --disable-sdl-mixer     without SDL_mixer support

  $ make

This will build the main OCamlSDL library (sdl.cma, sdl.cmxa) and the
extra libraries, if available (sdlmixer.cma, sdlttf.cma, sdlloader.cma).

  $ make install

This will install libraries using findlib if available or in the OCAMLSDLDIR
directory (defaults to CAMLLIBDIR/sdl).
For packagers, there's a DESTDIR makefile variable.