author Ryan C. Gordon
Tue, 05 Jan 2016 05:22:35 -0500
changeset 10031 2b3baddd9afa
parent 7925 f090a47eb7f7
permissions -rwxr-xr-x
Patched to compile.
     1 MinGW requires both the MinGW system and MSYS.
     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.
     9 After generating the scripts, simply navigate to the directory in
    10 a MSYS terminal and execute:
    12     make
    14 If you wish to clean the directory, you can use either the clean
    15 batch file, or call:
    17     make clean
    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:
    23     make config=debug
    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:
    30     make verbose=1
    32 There is currently no install target, but that is intended
    33 eventually.
    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.