146 You can also build it using the Makefile with MSYS/MinGW or Cygwin/MinGW. |
146 You can also build it using the Makefile with MSYS/MinGW or Cygwin/MinGW. |
147 Please read the Makefile for more information. |
147 Please read the Makefile for more information. |
148 |
148 |
149 Unix: |
149 Unix: |
150 OpenTTD can be built with GNU "make". On non-GNU systems it's called "gmake". |
150 OpenTTD can be built with GNU "make". On non-GNU systems it's called "gmake". |
|
151 However, for the first build one has to do a "./configure" first. |
151 Note that you need SDL-devel 1.2.5 (or higher) to compile OpenTTD. |
152 Note that you need SDL-devel 1.2.5 (or higher) to compile OpenTTD. |
152 |
153 |
153 MacOS X: |
154 MacOS X: |
154 Use "make" or Xcode (which will then call make for you) |
155 Use "make" or Xcode (which will then call make for you) |
155 This will give you a binary for your CPU type (PPC/Intel) |
156 This will give you a binary for your CPU type (PPC/Intel) |
156 To make a universal binary type "make UNIVERSAL_BINARY:=1" |
157 However, for the first build one has to do a "./configure" first. |
|
158 To make a universal binary type "./configure --enabled-universal" |
|
159 instead of "./configure". |
157 |
160 |
158 BeOS: |
161 BeOS: |
159 Use "make". |
162 Use "make", but do a "./configure" before the first build. |
160 |
163 |
161 FreeBSD: |
164 FreeBSD: |
162 You need the port devel/sdl12 for a non-dedicated build. |
165 You need the port devel/sdl12 for a non-dedicated build. |
163 graphics/png is optional for screenshots in the PNG format. |
166 graphics/png is optional for screenshots in the PNG format. |
164 Use "gmake". |
167 Use "gmake", but do a "./configure" before the first build. |
165 |
168 |
166 MorphOS: |
169 MorphOS: |
167 Use "make". Note that you need the MorphOS SDK, latest libnix updates (else |
170 Use "make". However, for the first build one has to do a "./configure" first. |
168 C++ parts of OpenTTD will not build) and the powersdl.library SDK. Optionally |
171 Note that you need the MorphOS SDK, latest libnix updates (else C++ parts of |
169 libz, libpng and freetype2 developer files. |
172 OpenTTD will not build) and the powersdl.library SDK. Optionally libz, |
|
173 libpng and freetype2 developer files. |
170 |
174 |
171 OS/2: |
175 OS/2: |
172 Open Watcom C/C++ 1.3 or later is required to build the OS/2 version. See the |
176 Open Watcom C/C++ 1.3 or later is required to build the OS/2 version. See the |
173 docs/Readme_OS2.txt file for more information. |
177 docs/Readme_OS2.txt file for more information. |
174 |
178 |