README.OS2
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1442 e3242177fe4a
child 1850 d5d3a6fe05a1
     1.1 --- a/README.OS2	Mon May 01 06:58:33 2006 +0000
     1.2 +++ b/README.OS2	Wed May 17 08:18:28 2006 +0000
     1.3 @@ -3,7 +3,7 @@
     1.4  SDL on OS/2
     1.5  ===========
     1.6  
     1.7 -Last updated on Feb. 26, 2006.
     1.8 +Last updated on May. 1, 2006.
     1.9  
    1.10  
    1.11  1. How to compile?
    1.12 @@ -16,10 +16,9 @@
    1.13  - The FSLib library
    1.14    (ftp://ftp.netlabs.org/pub/SDL)
    1.15  
    1.16 -First of all, you have to put the OS/2-specific Watcom makefiles into the
    1.17 -source code tree by unzipping the file Watcom-OS2.zip here.  This will
    1.18 -result in a Watcom.mif and a setvars.cmd file in this folder, and several
    1.19 -Makefile.wat files in the src\ folder and in some of its subfolders.
    1.20 +First of all, you have to unzip the Watcom-OS2.zip file. This will result in a 
    1.21 +file called "makefile" and a file called "setvars.cmd" in this folder (and some
    1.22 +more files...).
    1.23  
    1.24  Please edit the second, fourth and fifth lines of setvars.cmd file
    1.25  to set the folders where the toolkit, the OW compiler and the FSLib are. 
    1.26 @@ -27,23 +26,22 @@
    1.27  Run setvars.cmd, and you should get a shell in which you can
    1.28  compile SDL.
    1.29  
    1.30 -Check the "Watcom.mif" file. This is the file which is included by all the
    1.31 -Watcom makefiles, so changes here will affect the whole build process.
    1.32 -There is a line in there which determines if the resulting SDL.DLL will be
    1.33 -a 'debug' or a 'release' build. The 'debug' version is full of printf()'s,
    1.34 -so if something goes wrong, its output can help a lot for debugging.
    1.35 +Check the "makefile" file. There is a line in there which determines if the 
    1.36 +resulting SDL.DLL will be a 'debug' or a 'release' build. The 'debug' version 
    1.37 +is full of printf()'s, so if something goes wrong, its output can help a lot
    1.38 +for debugging.
    1.39  
    1.40 -Then go to the 'src' folder, and run "wmake -f makefile.wat".
    1.41 -This should create the SDL.DLL and the corresponding SDL.LIB file there.
    1.42 +Then run "wmake".
    1.43 +This should create the SDL.DLL and the corresponding SDL.LIB file here.
    1.44  
    1.45  To test applications, it's a good idea to use the 'debug' build of SDL, and
    1.46  redirect the standard output and standard error output to files, to see what
    1.47  happens internally in SDL.
    1.48  (like: testsprite >stdout.txt 2>stderr.txt)
    1.49  
    1.50 -To rebuild SDL, use the following commands in 'src' folder:
    1.51 -wmake -f makefile.wat clean
    1.52 -wmake -f makefile.wat
    1.53 +To rebuild SDL, use the following commands in this folder:
    1.54 +wmake clean
    1.55 +wmake
    1.56  
    1.57  
    1.58  
    1.59 @@ -53,7 +51,7 @@
    1.60  Once you have SDL.DLL compiled, navigate into the 'test' folder, copy in there
    1.61  the newly built SDL.DLL, and copy in there FSLib.DLL.
    1.62  
    1.63 -Then run "wmake -f makefile.wat" in there to compile some of the testapps.
    1.64 +Then run "wmake" in there to compile some of the testapps.
    1.65  
    1.66  
    1.67  
    1.68 @@ -193,6 +191,10 @@
    1.69  10. Changelog of the OS/2 port
    1.70  ------------------------------
    1.71  
    1.72 +Version 1.2 - 2006-05-01  - Doodle
    1.73 + - Modified makefile system to have only one makefile
    1.74 + - Included FSLib headers, DLL and LIB file
    1.75 +
    1.76  Version 1.2 - 2006-02-26  - Doodle
    1.77   - Updated the official SDL version with the OS/2 specific changes.
    1.78   - Added support for real unicode keycode conversion.