equal
deleted
inserted
replaced
|
1 MinGW requires both the MinGW system and MSYS. |
|
2 |
|
3 There is a script for generating a series of GNU makefiles targeted |
|
4 at MinGW on Windows. These makefiles will build the SDL library and |
|
5 test executables with static links to libgcc and the same features |
|
6 as the Visual Studio builds. That is, they have full OpenGL support |
|
7 and they have no dependency on MinGW. |
|
8 |
|
9 After generating the scripts, simply navigate to the directory in |
|
10 a MSYS terminal and execute: |
|
11 |
|
12 make |
|
13 |
|
14 If you wish to clean the directory, you can use either the clean |
|
15 batch file, or call: |
|
16 |
|
17 make clean |
|
18 |
|
19 The former will remove the actual makefiles and the latter will |
|
20 perform a typical clean operation. You can target specific |
|
21 build configurations as such: |
|
22 |
|
23 make config=debug |
|
24 |
|
25 Verbosity is initially set to off. All verbosity controls is |
|
26 whether the resulting gcc and ar commands are printed to the |
|
27 console. You can enable verbose output by setting verbose to any |
|
28 value: |
|
29 |
|
30 make verbose=1 |
|
31 |
|
32 There is currently no install target, but that is intended |
|
33 eventually. |
|
34 |
|
35 Ben: |
|
36 There is no DirectX support currently, but you can use the |
|
37 command option '--directx' when generating the makefiles to |
|
38 explicitly force the DirectX dependency on. This may have |
|
39 undefined behavior, so use it cautiously. |