File: cs_21.html

package info (click to toggle)
crystalspace 0.94-20020412-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 62,276 kB
  • ctags: 52,843
  • sloc: cpp: 274,783; ansic: 6,608; perl: 6,276; objc: 3,952; asm: 2,942; python: 2,354; php: 542; pascal: 530; sh: 430; makefile: 370; awk: 193
file content (88 lines) | stat: -rw-r--r-- 3,548 bytes parent folder | download
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created by texi2html 1.64 -->
<!-- 
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
 
-->
<HTML>
<HEAD>
<TITLE>Crystal Space: Unix Editing the Makefile</TITLE>

<META NAME="description" CONTENT="Crystal Space: Unix Editing the Makefile">
<META NAME="keywords" CONTENT="Crystal Space: Unix Editing the Makefile">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">

</HEAD>

<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">

<A NAME="SEC31"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_20.html#SEC30"> &lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_22.html#SEC32"> &gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_19.html#SEC29"> &lt;&lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_20.html#SEC30"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_25.html#SEC35"> &gt;&gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<HR SIZE=1>
<H4> 2.4.1.1 Editing the Makefile </H4>
<!--docid::SEC31::-->
<P>

The file `<TT>user.mak</TT>' (which you can find in `<TT>CS/mk</TT>') is normally
the only makefile that you should worry about. View it and see if all the 
options are suitable for you.
</P><P>

Some important options in `<TT>user.mak</TT>' are:
</P><P>

<DL COMPACT>
<DT><CODE>DO_ASM=... (possible values: 'yes' or 'no')</CODE>
<DD>With this option you can disable all assembler optimizations
present in CS. Note that there is currently only assembly for the Intel 
x86 processor(s) so this option has no effect otherwise.
The default for this option is `<SAMP>yes</SAMP>' if you are compiling for
optimization (see above option). Otherwise it is `<SAMP>no</SAMP>' (because
debugging interferes with the assembler).
<P>

<DT><CODE>USE_PLUGINS=... (possible values: 'yes' or 'no')</CODE>
<DD>This option allows you to select whether or not to build drivers and 
plugins as loadable modules. The default is `<SAMP>yes</SAMP>'.
<P>

<DT><CODE>USE_SHARED_LIBS=... (possible values: 'yes' or 'no')</CODE>
<DD>This option is currently only supported on Unix, and determines 
whether libraries are built as shared or dynamic. The default 
is `<SAMP>no</SAMP>'.
<P>

<DT><CODE>MODE=... (possible values: 'optimize' or 'debug')</CODE>
<DD>Selects whether Crystal Space is built with debugging information 
or not. The default is `<SAMP>optimize</SAMP>'.
</DL>
<P>

<A NAME="Unix Compiling"></A>
<HR SIZE=1>
<BR>  
<FONT SIZE="-1">
This document was generated

using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>

</BODY>
</HTML>