File: INSTALL

package info (click to toggle)
ruby-sdl 2.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,344 kB
  • ctags: 4,200
  • sloc: cpp: 7,598; ansic: 4,475; ruby: 2,258; sh: 102; makefile: 97
file content (72 lines) | stat: -rw-r--r-- 1,751 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
The file "README" has more detailed information.
You should also read the file "docs/guide.html". 

Requirements
=============
-GNU Make.
-SDL 1.2+ (http://www.libsdl.org/).
-An ANSI/ISO C++ compiler. SGE should conform to ANSI/ISO C++.
-Optional:
 -FreeType 2+ (http://www.freetype.org/).
 -SDL_Image (http://www.libsdl.org/projects/SDL_image/index.html).
-Some SDL knowledge.


Compile & install
==================
'make install'


Configure
==========
You can edit the file "Makefile.conf" to configure SGE. At the top of this
file you will see:

C_COMP = y
#USE_FT = n
#USE_IMG = n
#QUIET = y

Remove the comment (#) symbol to activate the control (y/n) of the 
following options:

C_COMP
Makes it possible to link C code to SGE. See the README file for more 
information. Default: y.

USE_FT
Controls the use of the FreeType library. Default: autodetected.

USE_IMG
Controls the use of the SDL_Image library. Default: autodetected.

QUIET
Don't show build status before compiling.


Make options
=============
'make'
Builds a static SGE library (libSGE.a).

'make shared'
Builds a dynamic SGE library (libSGE.so).

'make shared-strip'
Same as 'make shared' but strips symbols from the libSGE.so file.

'make dll'
Builds a win32 dll file (SGE.dll). You must use a win32 cross compiler to do 
this. You must also remove the # symbol on the "SGE_LIBS =...#-lstdc++" line
in Makefile.conf. 

'make dll-strip'
Same as 'make dll' but strips symbols from the SGE.dll file.

'make clean'
Removes compiled files.

'make install'
Builds a dynamic SGE library and installs it with the headers to the same 
install location as SDL. You can change this location by editing the PREFIX
and PREFIX_H lines in Makefile.conf. You must probably be root to install.